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

knielsen at knielsen-hq.org knielsen at knielsen-hq.org
Tue Nov 11 14:12:05 EET 2014


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

------------------------------------------------------------
revno: 4351
revision-id: knielsen at knielsen-hq.org-20141111121205-k578rjh4d6i94upm
parent: knielsen at knielsen-hq.org-20141111095510-g5q9qz2q4xfukq33
committer: Kristian Nielsen <knielsen at knielsen-hq.org>
branch nick: work-10.0-arjen
timestamp: Tue 2014-11-11 13:12:05 +0100
message:
  Fix sporadic test failures in rpl.rpl_parallel_show_binlog_events_purge_logs
  
  The test case had a RESET debug_sync immediately following a SIGNAL.
  This is always a bug, because it allows the SIGNAL to be cleared by
  the RESET before the waiter has a chance to see it.
  
  In this case, the offending RESET was simply unnecessary (and wrong),
  so just remove it, there is a proper RESET at the end of the query.
=== 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-11 12:12:05 +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-11 12:12:05 +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