Commit ecce9f23 authored by guilhem@mysql.com's avatar guilhem@mysql.com

test update: what we want to detect in this test is if the slave stopped.

parent ce6d7367
...@@ -8,7 +8,3 @@ stop slave; ...@@ -8,7 +8,3 @@ stop slave;
flush logs; flush logs;
reset slave; reset slave;
start slave; start slave;
show slave status;
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
127.0.0.1 root MASTER_PORT 1 master-bin.002 4 slave-relay-bin.002 161 master-bin.001 Yes No 0 Rolling back unfinished transaction (no COMMIT or ROLLBACK) from relay log. Probably cause is that the master died while writing the transaction to it's binary log. 0 79 317
reset master;
...@@ -20,5 +20,4 @@ reset slave; ...@@ -20,5 +20,4 @@ reset slave;
start slave; start slave;
# can't sync_with_master so we must sleep # can't sync_with_master so we must sleep
sleep 3; sleep 3;
--replace_result $MASTER_MYPORT MASTER_PORT wait_for_slave_to_stop;
show slave status;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment