Skip to content
Snippets Groups Projects
Commit d81c0422 authored by Yaroslav Dynnikov's avatar Yaroslav Dynnikov
Browse files

test: fix timeouts speeding up restart_both

parent 69b92342
No related branches found
No related tags found
1 merge request!373test: fix timeouts speeding up restart_both
Pipeline #13620 passed
......@@ -109,7 +109,12 @@ def test_restart_both(cluster2: Cluster):
# i1 has already initialized raft node but can't win election yet
# i2 starts discovery and should be able to advance further
wait_alive(i1)
i2.start()
wait_alive(i2)
# Speed up elections
i2.call("picolib.raft_timeout_now")
i1.wait_online()
assert i1.current_grade() == dict(variant="Online", incarnation=2)
......
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