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

test: attempt to reduce test flakyness

parent 5303433b
No related branches found
No related tags found
1 merge request!536test: randomize space ids in test to figure out test flakieness on ci
Pipeline #18547 failed
......@@ -547,11 +547,11 @@ class Instance:
ddl=dict(kind="create_space", **space_def),
)
# TODO: rewrite the test using pico.cas
index = self.call("pico.raft_propose", op)
index = self.call("pico.raft_propose", op, timeout=timeout)
# Index of the corresponding ddl abort / ddl commit entry
index_fin = index + 1
if wait_index:
self.call(".proc_sync_raft", index_fin, [timeout, 0])
self.call(".proc_sync_raft", index_fin, [timeout, 0], timeout=timeout)
return index_fin
......
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