1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-532: Fix some race conditions in test cases.

With MDEV-532, the binlog_checkpoint event is logged asynchronously
from a binlog background thread. This causes some sporadic failures
in some test cases whose output depends on order of events in
binlog.

Fix using an include file that waits until the binlog checkpoint
event has been logged before proceeding with the test case.
This commit is contained in:
unknown
2012-12-17 12:49:11 +01:00
parent 7760efad74
commit cd0970c480
6 changed files with 60 additions and 0 deletions

View File

@ -169,6 +169,7 @@ select * from db2.t1;
--connection master1
flush logs;
--source include/wait_for_binlog_checkpoint.inc
--save_master_pos
--connection slave
--sync_with_master 0, 'master1'