summaryrefslogtreecommitdiffstats
path: root/mysql-test/include/wsrep_wait_membership.inc
blob: 8bc1920ddfbfdc768b05dafd432a3c8c0aba0713 (plain)
1
2
3
4
5
6
7
8
9
10
# Waits for N members in the cluster
#
# Usage:
# --let $members=1
# --source wsrep_wait_membership.inc
#

let $wait_condition = SELECT VARIABLE_VALUE = $members FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';

--source include/wsrep_wait_condition.inc