mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixes to eliminate some race conditions in tests.
mysql-test/include/master-slave-reset.inc: Adding missing waits for slave to start and stop causing test failures. mysql-test/suite/rpl/t/rpl_insert.test: Waiting for the rows to be inserted instead of relying on the binlog position to be updated correctly.
This commit is contained in:
@ -3,7 +3,7 @@ connection slave;
|
||||
#(the server was started with skip-slave-start)
|
||||
--disable_warnings
|
||||
stop slave;
|
||||
--wait_for_slave_to_stop
|
||||
source include/wait_for_slave_to_stop.inc;
|
||||
--enable_warnings
|
||||
connection master;
|
||||
--disable_warnings
|
||||
@ -20,3 +20,4 @@ reset slave;
|
||||
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||
--enable_warnings
|
||||
start slave;
|
||||
source include/wait_for_slave_to_start.inc;
|
||||
|
Reference in New Issue
Block a user