[Commits] Rev 4161: Fix sporadic test failures in rpl_mariadb_slave_capability.test. in http://bazaar.launchpad.net/~maria-captains/maria/10.0

knielsen at knielsen-hq.org knielsen at knielsen-hq.org
Thu Apr 24 10:41:32 EEST 2014

At http://bazaar.launchpad.net/~maria-captains/maria/10.0

revno: 4161
revision-id: knielsen at knielsen-hq.org-20140424074131-84rekbtrkn028w7h
parent: bar at mnogosearch.org-20140424063013-c3it41ib2xiwpzpd
committer: knielsen at knielsen-hq.org
branch nick: tmp-10.0
timestamp: Thu 2014-04-24 09:41:31 +0200
  Fix sporadic test failures in rpl_mariadb_slave_capability.test.
  The problem is the async binlog checkpointing; this could on rare
  occasions occur too late, causing SHOW BINLOG EVENTS to show the
  wrong events and cause .result file difference.
=== modified file 'mysql-test/suite/rpl/t/rpl_mariadb_slave_capability.test'
--- a/mysql-test/suite/rpl/t/rpl_mariadb_slave_capability.test	2014-03-04 13:32:42 +0000
+++ b/mysql-test/suite/rpl/t/rpl_mariadb_slave_capability.test	2014-04-24 07:41:31 +0000
@@ -58,6 +58,7 @@ set @@global.debug_dbug= @old_slave_dbug
 connection master;
 set @@global.binlog_checksum = CRC32;
+--source include/wait_for_binlog_checkpoint.inc
 let $binlog_file= query_get_value(SHOW MASTER STATUS, File, 1);
 let $binlog_start= query_get_value(SHOW MASTER STATUS, Position, 1);

More information about the commits mailing list