summaryrefslogtreecommitdiff
path: root/mysql-test/suite/perfschema/t/statement_program_concurrency.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/perfschema/t/statement_program_concurrency.test')
-rw-r--r--mysql-test/suite/perfschema/t/statement_program_concurrency.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/mysql-test/suite/perfschema/t/statement_program_concurrency.test b/mysql-test/suite/perfschema/t/statement_program_concurrency.test
index 75261254c00..8229223caec 100644
--- a/mysql-test/suite/perfschema/t/statement_program_concurrency.test
+++ b/mysql-test/suite/perfschema/t/statement_program_concurrency.test
@@ -91,7 +91,9 @@ connection con3;
--reap;
connection default;
---source include/wait_until_connected_again.inc
+
+--let $wait_condition=select count(*)=3 from information_schema.processlist where command='sleep';
+--source include/wait_condition.inc
SELECT OBJECT_TYPE, OBJECT_SCHEMA, OBJECT_NAME, COUNT_STAR, COUNT_STATEMENTS
FROM performance_schema.events_statements_summary_by_program