From ff5f366d47130e30c37d6a2992fb91193060e4bf Mon Sep 17 00:00:00 2001
From: Georgy Moshkin <gmoshkin@picodata.io>
Date: Wed, 17 May 2023 14:56:18 +0300
Subject: [PATCH] test: attempt to reduce test flakyness

---
 test/conftest.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/conftest.py b/test/conftest.py
index 1fa77c726a..ade792da91 100644
--- a/test/conftest.py
+++ b/test/conftest.py
@@ -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
 
-- 
GitLab