Skip to content

Commit a459aa0

Browse files
hermanleeHerman Lee
authored andcommitted
Fix flakiness in rpl per_channel tests
Summary: These tests fail occasionally due to an error message about the channel being stopped in the error log. Suppress this error message. Reviewed By: lth Differential Revision: D45573014
1 parent f00dcb6 commit a459aa0

14 files changed

+14
-0
lines changed

mysql-test/suite/rpl/r/rpl_do_db_per_channel_filter.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include/rpl_init.inc [topology=1->2,3->2]
22
[connection server_2]
33
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
44
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
5+
call mtr.add_suppression("The slave coordinator and worker threads are stopped");
56
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT,SOURCE_USER='root' for CHANNEL '';
67
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT_3,SOURCE_USER='root' for CHANNEL 'channel_3_2';
78
include/start_slave.inc

mysql-test/suite/rpl/r/rpl_do_table_per_channel_filter.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include/rpl_init.inc [topology=1->2,3->2]
22
[connection server_2]
33
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
44
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
5+
call mtr.add_suppression("The slave coordinator and worker threads are stopped");
56
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_PORT=MASTER_PORT, SOURCE_USER='root' for CHANNEL '';
67
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_PORT=MASTER_PORT_3, SOURCE_USER='root' for CHANNEL 'channel_3_2';
78
include/start_slave.inc

mysql-test/suite/rpl/r/rpl_ignore_db_per_channel_filter.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include/rpl_init.inc [topology=1->2,3->2]
22
[connection server_2]
33
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
44
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
5+
call mtr.add_suppression("The slave coordinator and worker threads are stopped");
56
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT,SOURCE_USER='root' for CHANNEL '';
67
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT_3,SOURCE_USER='root' for CHANNEL 'channel_3_2';
78
include/start_slave.inc

mysql-test/suite/rpl/r/rpl_ignore_table_per_channel_filter.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include/rpl_init.inc [topology=1->2,3->2]
22
[connection server_2]
33
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
44
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
5+
call mtr.add_suppression("The slave coordinator and worker threads are stopped");
56
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_PORT=MASTER_PORT, SOURCE_USER='root' for CHANNEL '';
67
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_PORT=MASTER_PORT_3, SOURCE_USER='root' for CHANNEL 'channel_3_2';
78
include/start_slave.inc

mysql-test/suite/rpl/r/rpl_rewrite_db_per_channel_filter.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include/rpl_init.inc [topology=1->2,3->2]
22
[connection server_2]
33
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
44
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
5+
call mtr.add_suppression("The slave coordinator and worker threads are stopped");
56
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_PORT=MASTER_PORT, SOURCE_USER='root' for CHANNEL '';
67
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_PORT=MASTER_PORT_3, SOURCE_USER='root' for CHANNEL 'channel_3_2';
78
include/start_slave.inc

mysql-test/suite/rpl/r/rpl_wild_do_table_per_channel_filter.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include/rpl_init.inc [topology=1->2,3->2]
22
[connection server_2]
33
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
44
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
5+
call mtr.add_suppression("The slave coordinator and worker threads are stopped");
56
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT,SOURCE_USER='root' for CHANNEL '';
67
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT_3,SOURCE_USER='root' for CHANNEL 'channel_3_2';
78
include/start_slave.inc

mysql-test/suite/rpl/r/rpl_wild_ignore_table_per_channel_filter.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include/rpl_init.inc [topology=1->2,3->2]
22
[connection server_2]
33
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
44
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
5+
call mtr.add_suppression("The slave coordinator and worker threads are stopped");
56
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT,SOURCE_USER='root' for CHANNEL '';
67
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT_3,SOURCE_USER='root' for CHANNEL 'channel_3_2';
78
include/start_slave.inc

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
3333
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
34+
call mtr.add_suppression("The slave coordinator and worker threads are stopped");
3435

3536
--disable_warnings
3637
--replace_result $MASTER_MYPORT MASTER_PORT

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
3333
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
34+
call mtr.add_suppression("The slave coordinator and worker threads are stopped");
3435

3536
--disable_warnings
3637
--replace_result $MASTER_MYPORT MASTER_PORT

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
3333
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
34+
call mtr.add_suppression("The slave coordinator and worker threads are stopped");
3435

3536
--disable_warnings
3637
--replace_result $MASTER_MYPORT MASTER_PORT

0 commit comments

Comments
 (0)