Skip to content

Commit

Permalink
MDEV-8193: UNTIL clause in START SLAVE is sporadically disobeyed by p…
Browse files Browse the repository at this point in the history
…arallel 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.
  • Loading branch information
knielsen committed Sep 11, 2015
1 parent 51eaa7f commit 528729f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mysql-test/suite/rpl/t/rpl_mdev8193.test
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}

Expand Down

0 comments on commit 528729f

Please sign in to comment.