test: fix flaky qsync_snapshots.test.lua again
One of the test cases started a sync transaction on master, switched to replica, and tried to do some actions assuming that the latest master data has arrived here. But in fact the replica could be far behind the master. It could still contain data from the previous test case. That led to a bug, when it looked like if the replica had some data committed on it, but not committed on master - this was just data from the previous test case. The issue is solved by flushing master's state to replica via making a successful sync transaction. Closes #5167
Please register or sign in to comment