1include/master-slave.inc
2[connection master]
3connection slave;
4call mtr.add_suppression("Slave I/O: Master command COM_REGISTER_SLAVE failed: .*");
5call mtr.add_suppression("Slave I/O: .* failed with error: Lost connection to MySQL server at 'reading initial communication packet'");
6call mtr.add_suppression("Fatal error: The slave I/O thread stops because master and slave have equal MySQL server ids; .*");
7call mtr.add_suppression("Slave I/O thread .* register on master");
8SET @saved_dbug = @@GLOBAL.debug_dbug;
9connection slave;
10include/stop_slave.inc
11SET @old_dbug = @@global.debug_dbug;
12SET @@global.debug_dbug= "d,'debug_lock.before_get_UNIX_TIMESTAMP'";
13include/start_slave.inc
14slave is going to hang in get_master_version_and_clock
15include/rpl_stop_server.inc [server_number=1]
16slave is unblocked
17SET DEBUG_SYNC='now SIGNAL signal.get_unix_timestamp';
18connection slave;
19Check network error happened here
20include/wait_for_slave_io_error.inc [errno=1053, 2002, 2003, 2006, 2013]
21set @@global.debug_dbug= @old_dbug;
22include/rpl_start_server.inc [server_number=1]
23include/wait_for_slave_param.inc [Slave_IO_Running]
24connection slave;
25connection slave;
26include/stop_slave.inc
27SET @old_dbug = @@global.debug_dbug;
28SET @@global.debug_dbug= "d,'debug_lock.before_get_SERVER_ID'";
29include/start_slave.inc
30slave is going to hang in get_master_version_and_clock
31include/rpl_stop_server.inc [server_number=1]
32slave is unblocked
33SET DEBUG_SYNC='now SIGNAL signal.get_server_id';
34connection slave;
35Check network error happened here
36include/wait_for_slave_io_error.inc [errno=1053, 2002, 2003, 2006, 2013]
37set @@global.debug_dbug= @old_dbug;
38include/rpl_start_server.inc [server_number=1]
39include/wait_for_slave_param.inc [Slave_IO_Running]
40SET @@GLOBAL.debug_dbug = @saved_dbug;
41SET DEBUG_SYNC= 'RESET';
42include/rpl_end.inc
43