diff --git a/mysql-test/t/events_restart_phase3.test b/mysql-test/t/events_restart_phase3.test
index f5eeb1af2d97bd1ade27405aad5e246633d5617e..04d879e50ecca044142dff881e2e13c4b1495559 100644
--- a/mysql-test/t/events_restart_phase3.test
+++ b/mysql-test/t/events_restart_phase3.test
@@ -18,3 +18,4 @@ drop database events_test;
 let $wait_condition=
   select count(*) = 0 from information_schema.processlist
   where db='events_test' and command = 'Connect' and user=current_user();
+--source include/wait_condition.inc