Commit 78cda882 authored by Chad MILLER's avatar Chad MILLER

Bug#36818: rpl_server_id1 fails expecting slave has stopped

The test is vulnerable because it does not check if slave has stopped at time
of the new session is requested `start slave;'

Fixed with deploying explicitly wait_for_slave_to_stop synchronization macro.
parent 41116166
...@@ -10,6 +10,7 @@ reset master; ...@@ -10,6 +10,7 @@ reset master;
# replicate ourselves # replicate ourselves
stop slave; stop slave;
source include/wait_for_slave_to_stop.inc;
--replace_result $SLAVE_MYPORT SLAVE_PORT --replace_result $SLAVE_MYPORT SLAVE_PORT
eval change master to master_port=$SLAVE_MYPORT; eval change master to master_port=$SLAVE_MYPORT;
start slave; start slave;
......
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