summaryrefslogtreecommitdiff
path: root/mysql-test/suite/galera/t/galera_var_notify_cmd.test
blob: b261f878ced03413c8dd36ec25c66ebf240f72a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#
# Test wsrep_notify_cmd. We use a version of the support-files/wsrep_notify.sh script that writes
# notifications into a table.
#

--source include/have_innodb.inc
--source include/galera_cluster.inc

--connection node_1
SELECT COUNT(DISTINCT uuid) = 2 FROM mtr_wsrep_notify.membership;
SELECT MAX(size) = 2 FROM mtr_wsrep_notify.status;
SELECT COUNT(DISTINCT idx) = 2 FROM mtr_wsrep_notify.status;