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:
@ -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;
|
||||||
|
Reference in New Issue
Block a user