mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Bug#28772 rpl_row_until fails in pushbuild
mysql-test/suite/rpl/t/rpl_row_until.test: - Add a "wait_for_slave_to_stop.inc" after the two "stop slave" commands after wich we want to show the slaves status mysql-test/suite/rpl/t/rpl_stm_until.test: - Add a "wait_for_slave_to_stop.inc" after the two "stop slave" commands after wich we want to show the slaves status
This commit is contained in:
@@ -13,6 +13,8 @@ save_master_pos;
|
|||||||
connection slave;
|
connection slave;
|
||||||
sync_with_master;
|
sync_with_master;
|
||||||
stop slave;
|
stop slave;
|
||||||
|
# Make sure the slave sql and io thread has stopped
|
||||||
|
--source include/wait_for_slave_to_stop.inc
|
||||||
|
|
||||||
connection master;
|
connection master;
|
||||||
# create some events on master
|
# create some events on master
|
||||||
@@ -52,6 +54,8 @@ save_master_pos;
|
|||||||
connection slave;
|
connection slave;
|
||||||
sync_with_master;
|
sync_with_master;
|
||||||
stop slave;
|
stop slave;
|
||||||
|
# Make sure the slave sql and io thread has stopped
|
||||||
|
--source include/wait_for_slave_to_stop.inc
|
||||||
|
|
||||||
# this should stop immediately as we are already there
|
# this should stop immediately as we are already there
|
||||||
start slave until master_log_file='master-bin.000001', master_log_pos=740;
|
start slave until master_log_file='master-bin.000001', master_log_pos=740;
|
||||||
|
@@ -12,6 +12,8 @@ save_master_pos;
|
|||||||
connection slave;
|
connection slave;
|
||||||
sync_with_master;
|
sync_with_master;
|
||||||
stop slave;
|
stop slave;
|
||||||
|
# Make sure the slave sql and io thread has stopped
|
||||||
|
--source include/wait_for_slave_to_stop.inc
|
||||||
|
|
||||||
connection master;
|
connection master;
|
||||||
# create some events on master
|
# create some events on master
|
||||||
@@ -51,6 +53,8 @@ save_master_pos;
|
|||||||
connection slave;
|
connection slave;
|
||||||
sync_with_master;
|
sync_with_master;
|
||||||
stop slave;
|
stop slave;
|
||||||
|
# Make sure the slave sql and io thread has stopped
|
||||||
|
--source include/wait_for_slave_to_stop.inc
|
||||||
|
|
||||||
# this should stop immediately as we are already there
|
# this should stop immediately as we are already there
|
||||||
start slave until master_log_file='master-bin.000001', master_log_pos=776;
|
start slave until master_log_file='master-bin.000001', master_log_pos=776;
|
||||||
|
Reference in New Issue
Block a user