Fix possible test flakyness

This commit is contained in:
alesapin 2021-02-02 22:33:57 +03:00
parent 9979181c02
commit 1e0a528bac

View File

@ -228,6 +228,7 @@ def test_blocade_leader_twice(started_cluster):
for node in [node1, node2, node3]:
for i in range(100):
try:
node.query("SYSTEM RESTART REPLICA t2", timeout=10)
node.query("SYSTEM SYNC REPLICA t2", timeout=10)
break
except Exception as ex: