1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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.
This commit is contained in:
Chad MILLER
2008-05-20 11:14:03 -04:00
parent 7ec38d1fa7
commit fdd075d0e1

View File

@ -10,6 +10,7 @@ reset master;
# replicate ourselves
stop slave;
source include/wait_for_slave_to_stop.inc;
--replace_result $SLAVE_MYPORT SLAVE_PORT
eval change master to master_port=$SLAVE_MYPORT;
start slave;