Debian Codegraph @

mysql-test/suite/galera/t/galera_var_notify_cmd.test

raw
1 #
2 # Test wsrep_notify_cmd. We use a version of the support-files/wsrep_notify.sh script that writes
3 # notifications into a table.
4 #
5
6 --source include/galera_cluster.inc
7 --source include/force_restart.inc
8
9 --connection node_1
10 --let $wait_condition = SELECT COUNT(DISTINCT uuid) = 2 FROM mtr_wsrep_notify.membership;
11 --source include/wait_condition.inc
12
13 SELECT COUNT(DISTINCT uuid) AS EXPECT_2 FROM mtr_wsrep_notify.membership;
14 SELECT MAX(size) AS EXPECT_2 FROM mtr_wsrep_notify.status;
15 SELECT COUNT(DISTINCT idx) AS EXPECT_2 FROM mtr_wsrep_notify.status;
16
17 # CLEANUP
18 DROP SCHEMA mtr_wsrep_notify;