summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2013-08-07 15:55:17 +0400
committerSergey Vojtovich <svoj@mariadb.org>2013-08-07 15:55:17 +0400
commit45f8bcb282f9ff68c2a21366aad5947380a503c0 (patch)
tree9c1fa9917bf029e4863b0d909d38b8386bbe9c5d /mysql-test
parent1a9f6b1d89a170571d617c001b3a056c9bcf9939 (diff)
downloadmariadb-git-45f8bcb282f9ff68c2a21366aad5947380a503c0.tar.gz
Attempt to fix sproadic failures of rpl.rpl_err_ignoredtable.
mysql-test/suite/rpl/t/rpl_err_ignoredtable.test: Wait until thread is killed.
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/suite/rpl/t/rpl_err_ignoredtable.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/suite/rpl/t/rpl_err_ignoredtable.test b/mysql-test/suite/rpl/t/rpl_err_ignoredtable.test
index 49c5056c485..31a36a7e0aa 100644
--- a/mysql-test/suite/rpl/t/rpl_err_ignoredtable.test
+++ b/mysql-test/suite/rpl/t/rpl_err_ignoredtable.test
@@ -47,6 +47,9 @@ let $wait_condition= SELECT count(*) > 0 FROM information_schema.processlist WHE
source include/wait_condition.inc;
select (@id := id) - id from t3;
kill @id;
+let $id= `SELECT @id`;
+let $wait_condition= SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.PROCESSLIST WHERE ID = $id;
+source include/wait_condition.inc;
drop table t2,t3;
insert into t4 values (3),(4);
connection master;