MDEV-8193: UNTIL clause in START SLAVE is sporadically disobeyed by parallel replication

Adjust the test case to try and avoid some sporadic failures on loaded test
hosts.

The wait for SQL thread to stop may complete before worker threads
have completed.
This commit is contained in:
Kristian Nielsen 2015-09-12 00:42:21 +02:00
parent 51eaa7fe53
commit 528729fc5d

View File

@ -38,10 +38,10 @@ eval start slave until master_log_file='$master_file', master_log_pos=$master_po
--source include/wait_show_condition.inc
if (`select COUNT(*) <> 11 from t1`)
if (`select COUNT(*) > 11 from t1`)
{
SELECT * FROM t1;
query_vertical show slave status;
SELECT * FROM t1;
die "Wrong number of rows in the table";
}