Skip to content

Commit

Permalink
Decrease fail window for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eaneto committed Nov 24, 2024
1 parent 59be939 commit c2fc86c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ def assert_health_multiple_status(n: int, statuses: Set[int]):

def wait_fail_window():
"""Waits the fail window for ekilibri to remove the server from the healthy servers list."""
sleep(10)
sleep(5)
2 changes: 1 addition & 1 deletion tests/ekilibri-least-connections-timeout.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ servers = [
]
strategy = "LeastConnections"
max_fails = 1
fail_window = 10
fail_window = 5
connection_timeout = 1000
write_timeout = 1000
read_timeout = 1000
Expand Down
2 changes: 1 addition & 1 deletion tests/ekilibri-least-connections.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ servers = [
]
strategy = "LeastConnections"
max_fails = 1
fail_window = 10
fail_window = 5
connection_timeout = 1000
write_timeout = 1000
read_timeout = 1000
Expand Down
2 changes: 1 addition & 1 deletion tests/ekilibri-round-robin-timeout.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ servers = [
]
strategy = "RoundRobin"
max_fails = 1
fail_window = 10
fail_window = 5
connection_timeout = 1000
write_timeout = 1000
read_timeout = 1000
Expand Down
2 changes: 1 addition & 1 deletion tests/ekilibri-round-robin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ servers = [
]
strategy = "RoundRobin"
max_fails = 1
fail_window = 10
fail_window = 5
connection_timeout = 1000
write_timeout = 1000
read_timeout = 1000
Expand Down

0 comments on commit c2fc86c

Please sign in to comment.