Skip to content
Snippets Groups Projects
Commit bf666972 authored by Georgy Moshkin's avatar Georgy Moshkin :speech_balloon: Committed by Georgy Moshkin
Browse files

test: increase timeouts in tests to cure some flakiness

parent 159b109c
No related branches found
No related tags found
1 merge request!299Feat/poor mans vshard
......@@ -416,7 +416,7 @@ class Instance:
assert want == have
@funcy.retry(tries=30, timeout=0.2)
@funcy.retry(tries=30, timeout=0.5)
def wait_online(self):
"""Wait until instance attains Online grade
......@@ -437,7 +437,7 @@ class Instance:
eprint(f"{self} is online")
@funcy.retry(tries=4, timeout=0.1, errors=AssertionError)
@funcy.retry(tries=4, timeout=0.5, errors=AssertionError)
def promote_or_fail(self):
eprint(f"{self} is trying to become a leader")
......@@ -445,7 +445,7 @@ class Instance:
self.call("picolib.raft_timeout_now")
# 2. Wait until the miracle occurs.
@funcy.retry(tries=4, timeout=0.1, errors=AssertionError)
@funcy.retry(tries=4, timeout=0.5, errors=AssertionError)
def wait_promoted():
self.assert_raft_status("Leader")
......
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