From 4c08e9dece7eb1afd2ca65c492ad29a2732ce884 Mon Sep 17 00:00:00 2001 From: Georgy Moshkin <gmoshkin@picodata.io> Date: Fri, 12 May 2023 19:31:25 +0300 Subject: [PATCH] test: reduce flakieness --- test/int/test_ddl.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/int/test_ddl.py b/test/int/test_ddl.py index 52b62d64d8..8fa97dc232 100644 --- a/test/int/test_ddl.py +++ b/test/int/test_ddl.py @@ -24,7 +24,11 @@ def test_ddl_create_space_bulky(cluster: Cluster): ), ) # TODO: rewrite the test using pico.cas, when it supports ddl - i1.call("pico.raft_propose", op) + index = i1.call("pico.raft_propose", op) + abort_index = index + 1 + + i1.call(".proc_sync_raft", abort_index, (3, 0)) + i2.call(".proc_sync_raft", abort_index, (3, 0)) # No space was created assert i1.call("box.space._pico_space:get", 666) is None -- GitLab