[Commits] Rev 4346: MDEV-7103: Sporadic test falure in rpl.rpl_parallel_show_binlog_events_purge_logs in http://bazaar.launchpad.net/~maria-captains/maria/5.5

knielsen at knielsen-hq.org knielsen at knielsen-hq.org
Thu Nov 13 11:04:45 EET 2014


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

------------------------------------------------------------
revno: 4346
revision-id: knielsen at knielsen-hq.org-20141113090445-y1xvw2kmbtqb0m2c
parent: knielsen at knielsen-hq.org-20141112101013-t63ayylsk08ncgs3
committer: Kristian Nielsen <knielsen at knielsen-hq.org>
branch nick: mariadb-5.5
timestamp: Thu 2014-11-13 10:04:45 +0100
message:
  MDEV-7103: Sporadic test falure in rpl.rpl_parallel_show_binlog_events_purge_logs
  
  The test case had a classic mistake: SET DEBUG_SYNC='now SIGNAL xxx'
  followed immediately by SET DEBUG_SYNC='RESET'. This makes it
  possible for the waiter to miss the signal, if it does not manage
  to wake up prior to the RESET.
=== modified file 'mysql-test/suite/rpl/r/rpl_parallel_show_binlog_events_purge_logs.result'
--- a/mysql-test/suite/rpl/r/rpl_parallel_show_binlog_events_purge_logs.result	2012-04-20 21:25:59 +0000
+++ b/mysql-test/suite/rpl/r/rpl_parallel_show_binlog_events_purge_logs.result	2014-11-13 09:04:45 +0000
@@ -7,7 +7,6 @@ SHOW BINLOG EVENTS;
 SET DEBUG_SYNC= 'now WAIT_FOR on_show_binlog_events';
 FLUSH LOGS;
 SET DEBUG_SYNC= 'now SIGNAL end';
-SET DEBUG_SYNC= 'RESET';
 [connection slave]
 SET DEBUG_SYNC= 'RESET';
 include/rpl_end.inc

=== modified file 'mysql-test/suite/rpl/t/rpl_parallel_show_binlog_events_purge_logs.test'
--- a/mysql-test/suite/rpl/t/rpl_parallel_show_binlog_events_purge_logs.test	2012-04-20 21:25:59 +0000
+++ b/mysql-test/suite/rpl/t/rpl_parallel_show_binlog_events_purge_logs.test	2014-11-13 09:04:45 +0000
@@ -22,7 +22,6 @@ SET DEBUG_SYNC= 'after_show_binlog_event
 SET DEBUG_SYNC= 'now WAIT_FOR on_show_binlog_events';
 FLUSH LOGS;
 SET DEBUG_SYNC= 'now SIGNAL end';
-SET DEBUG_SYNC= 'RESET';
 
 --echo [connection slave]
 --connection slave



More information about the commits mailing list