Skip to content
Snippets Groups Projects
Commit 50cbf2df authored by Dmitry Rodionov's avatar Dmitry Rodionov
Browse files

test: increase timeout in test_restart_both

Close: #1032
parent 94c5755f
No related branches found
No related tags found
1 merge request!1511Dkr/investigate flaky
...@@ -91,10 +91,10 @@ def test_restart_both(cluster2: Cluster): ...@@ -91,10 +91,10 @@ def test_restart_both(cluster2: Cluster):
# This synchronization is necessary for proper test case reproducing. # This synchronization is necessary for proper test case reproducing.
# i1 has already initialized raft node but can't win election yet # i1 has already initialized raft node but can't win election yet
# i2 starts discovery and should be able to advance further # i2 starts discovery and should be able to advance further
Retriable(timeout=2, rps=10).call(check_alive, i1) Retriable(timeout=10, rps=10).call(check_alive, i1)
i2.start() i2.start()
Retriable(timeout=2, rps=10).call(check_alive, i2) Retriable(timeout=10, rps=10).call(check_alive, i2)
# Speed up elections # Speed up elections
i2.promote_or_fail() i2.promote_or_fail()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment