Skip to content

Commit 1fde42d

Browse files
author
Neha Kumari
committed
Bug#27067082:RPL.RPL_MTS_LOGICAL_CLOCK_APPLIER_ERROR_CONCURRENT_STOP_SLAVE - PB2 FAILURE
Problem: A call to an include that issues "STOP SLAVE" may happen when the slave thread are already stopped by errors in slow machines (or testing with valgrind). In such cases, the test case will produce an extra content not recorded into its result: +Warnings: +Note 3084 Replication thread(s) for channel '' are already stopped. Fix: The test case is not 100% deterministic, so to avoid the above warning we can wrap the include that issues "STOP SLAVE" with disable_warnings/enable_warnings.
1 parent 1a15ecb commit 1fde42d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mysql-test/suite/rpl/t/rpl_mts_logical_clock_applier_error_concurrent_stop_slave.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ DELETE FROM parent WHERE a=3;
6969
#
7070
# Stop slave and cleanup the blocking
7171
#
72+
--disable_warnings
7273
--source include/stop_slave_sql.inc
74+
--enable_warnings
7375
--source include/rpl_connection_slave1.inc
7476
ROLLBACK;
7577

0 commit comments

Comments
 (0)