[Tarantool-patches] [PATCH v4 16/16] box: introduce `box.ctl.demote`

Serge Petrenko sergepetrenko at tarantool.org
Thu Jul 15 20:13:33 MSK 2021



14.07.2021 21:25, Serge Petrenko пишет:

Another simple fix:

=================================

diff --git a/test/replication/gh-6034-qsync-limbo-ownership.result 
b/test/replication/gh-6034-qsync-limbo-ownership.result
index 0da3e5c2d..b4f53cd2a 100644
--- a/test/replication/gh-6034-qsync-limbo-ownership.result
+++ b/test/replication/gh-6034-qsync-limbo-ownership.result
@@ -120,6 +120,9 @@ test_run:switch('default')
   | ---
   | - true
   | ...
+test_run:wait_lsn('default', 'replica')
+ | ---
+ | ...
  assert(box.info.ro)
   | ---
   | - true
diff --git a/test/replication/gh-6034-qsync-limbo-ownership.test.lua 
b/test/replication/gh-6034-qsync-limbo-ownership.test.lua
index a0c49575a..f9ef5ca41 100644
--- a/test/replication/gh-6034-qsync-limbo-ownership.test.lua
+++ b/test/replication/gh-6034-qsync-limbo-ownership.test.lua
@@ -43,6 +43,7 @@ assert(box.info.synchro.queue.owner == box.info.id)
  box.space.sync:insert{2} -- success.

  test_run:switch('default')
+test_run:wait_lsn('default', 'replica')
  assert(box.info.ro)
  assert(box.info.synchro.queue.owner == test_run:get_server_id('replica'))
  box.space.sync:insert{3} -- failure.

=================================

-- 
Serge Petrenko



More information about the Tarantool-patches mailing list