1--let $wait_timeout = 10
2--let $wsrep_on_orig = `SELECT @@wsrep_on`
3SET SESSION wsrep_on = 0;
4
5#
6# following is only for debugging purposes
7# should be commented out when test wporks as planned
8#
9#--sleep 1
10# SHOW PROCESSLIST;
11#SHOW STATUS LIKE 'wsrep_%';
12#--echo $galera_sync_point
13
14--let $wait_condition = SELECT 1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_debug_sync_waiters' AND VARIABLE_VALUE = '$galera_sync_point'
15--source include/wait_condition.inc
16--eval SET SESSION wsrep_on = $wsrep_on_orig
17
18