From 528729fc5da818e99c7ec06b7a7e4c9d0f0adc3e Mon Sep 17 00:00:00 2001 From: Kristian Nielsen Date: Sat, 12 Sep 2015 00:42:21 +0200 Subject: [PATCH] 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. --- mysql-test/suite/rpl/t/rpl_mdev8193.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysql-test/suite/rpl/t/rpl_mdev8193.test b/mysql-test/suite/rpl/t/rpl_mdev8193.test index 1a0d86e8035..29c26bb3da4 100644 --- a/mysql-test/suite/rpl/t/rpl_mdev8193.test +++ b/mysql-test/suite/rpl/t/rpl_mdev8193.test @@ -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"; }