Skip to content

Commit 528729f

Browse files
committed
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.
1 parent 51eaa7f commit 528729f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mysql-test/suite/rpl/t/rpl_mdev8193.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ eval start slave until master_log_file='$master_file', master_log_pos=$master_po
3838

3939
--source include/wait_show_condition.inc
4040

41-
if (`select COUNT(*) <> 11 from t1`)
41+
if (`select COUNT(*) > 11 from t1`)
4242
{
43-
SELECT * FROM t1;
4443
query_vertical show slave status;
44+
SELECT * FROM t1;
4545
die "Wrong number of rows in the table";
4646
}
4747

0 commit comments

Comments
 (0)