test: factor wal play until "synchro busy" out
The function play_wal_until_synchro_queue_is_busy() was used in a few tests copy-pasted since it was considered to be too specific for a few rare tests. But apparently it is going to be used again in a new test in a future commit. The patch makes this function a method of server object to reuse it properly. Needed for #7253 NO_DOC=refactoring NO_CHANGELOG=refactoring
Showing
- test/luatest_helpers/misc.lua 1 addition, 0 deletionstest/luatest_helpers/misc.lua
- test/luatest_helpers/server.lua 23 additions, 0 deletionstest/luatest_helpers/server.lua
- test/replication-luatest/gh_6033_box_promote_demote_test.lua 1 addition, 20 deletionstest/replication-luatest/gh_6033_box_promote_demote_test.lua
- test/replication-luatest/gh_6842_qsync_applier_order_test.lua 1 addition, 21 deletions.../replication-luatest/gh_6842_qsync_applier_order_test.lua
- test/replication-luatest/gh_7086_box_issue_promote_assert_test.lua 4 additions, 23 deletions...ication-luatest/gh_7086_box_issue_promote_assert_test.lua
Loading
Please register or sign in to comment