diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2016-04-19 12:38:00 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2016-04-19 12:38:00 +0400 |
commit | 18ff6f654b1ca595fc5c0eebddbc1d0c5ee0d09e (patch) | |
tree | 8ed79836017267dc7ed33c9bfbc8e9d6d57ccafc /mysql-test/t/events_2.test | |
parent | 6fd54c01bb5bc480497b143d63181837148ff47f (diff) | |
download | mariadb-git-18ff6f654b1ca595fc5c0eebddbc1d0c5ee0d09e.tar.gz |
MDEV-9944 - main.events_2 fails sporadically
Fixed wait condition in test case to actually wait for get_lock() completion
(not for lock acquisition as it was before). This removes sporadic extra row in
subsequent processlist queries.
Diffstat (limited to 'mysql-test/t/events_2.test')
-rw-r--r-- | mysql-test/t/events_2.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/events_2.test b/mysql-test/t/events_2.test index 48949d5630b..5443f76d1a1 100644 --- a/mysql-test/t/events_2.test +++ b/mysql-test/t/events_2.test @@ -67,10 +67,10 @@ select /*2*/ user, host, db, command, state, info select release_lock("test_lock2"); drop event закачка; -# Wait for release_lock("test_lock2") to complete, +# Wait for get_lock("test_lock2") to complete, # to avoid polluting the next test information_schema.processlist let $wait_condition= select count(*) = 0 from information_schema.processlist - where (state like 'User lock%' AND info like 'select get_lock%'); + where info='select get_lock("test_lock2", 20)'; --source include/wait_condition.inc |