diff options
Diffstat (limited to 'mysql-test/suite/rpl/r/rpl_heartbeat_debug.result')
-rw-r--r-- | mysql-test/suite/rpl/r/rpl_heartbeat_debug.result | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/mysql-test/suite/rpl/r/rpl_heartbeat_debug.result b/mysql-test/suite/rpl/r/rpl_heartbeat_debug.result new file mode 100644 index 00000000..dc45c0b9 --- /dev/null +++ b/mysql-test/suite/rpl/r/rpl_heartbeat_debug.result @@ -0,0 +1,31 @@ +include/master-slave.inc +[connection master] +connection slave; +include/stop_slave.inc +set @restore_slave_net_timeout= @@global.slave_net_timeout; +set @@global.slave_net_timeout= 10; +show status like 'Slave_heartbeat_period';; +Variable_name Slave_heartbeat_period +Value 60.000 +SET @saved_dbug= @@GLOBAL.debug_dbug; +SET GLOBAL debug_dbug="+d,simulate_slave_heartbeat_network_error"; +CALL mtr.add_suppression('SET @master_heartbeat_period to master failed with error'); +CALL mtr.add_suppression('Master command COM_REGISTER_SLAVE failed: failed registering on master, reconnecting to try again'); +include/start_slave.inc +connection master; +drop table if exists t1; +CREATE TABLE t1 (a INT PRIMARY KEY); +INSERT INTO t1 VALUES (1); +connection slave; +connection slave; +SELECT * FROM t1; +a +1 +connection master; +drop table t1; +connection slave; +include/stop_slave.inc +SET GLOBAL debug_dbug=@saved_dbug; +set @@global.slave_net_timeout= @restore_slave_net_timeout; +include/start_slave.inc +include/rpl_end.inc |