Commit 88073dae authored by Jan Lindström's avatar Jan Lindström

MDEV-21198 : Galera test failure on galera_var_notify_cmd

Add proper wsrep sync wait.
parent 3ff8fb51
connection node_1; connection node_1;
SELECT COUNT(DISTINCT uuid) = 2 FROM mtr_wsrep_notify.membership; SET SESSION wsrep_sync_wait=15;
COUNT(DISTINCT uuid) = 2 SELECT COUNT(DISTINCT uuid) FROM mtr_wsrep_notify.membership;
COUNT(DISTINCT uuid)
2
SELECT MAX(size) FROM mtr_wsrep_notify.status;
MAX(size)
2
SELECT COUNT(DISTINCT idx) FROM mtr_wsrep_notify.status;
COUNT(DISTINCT idx)
1 1
SELECT MAX(size) = 2 FROM mtr_wsrep_notify.status;
MAX(size) = 2
1
SELECT COUNT(DISTINCT idx) = 2 FROM mtr_wsrep_notify.status;
COUNT(DISTINCT idx) = 2
0
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
# notifications into a table. # notifications into a table.
# #
--source include/have_innodb.inc
--source include/galera_cluster.inc --source include/galera_cluster.inc
--connection node_1 --connection node_1
SELECT COUNT(DISTINCT uuid) = 2 FROM mtr_wsrep_notify.membership; SET SESSION wsrep_sync_wait=15;
SELECT MAX(size) = 2 FROM mtr_wsrep_notify.status; SELECT COUNT(DISTINCT uuid) FROM mtr_wsrep_notify.membership;
SELECT COUNT(DISTINCT idx) = 2 FROM mtr_wsrep_notify.status; SELECT MAX(size) FROM mtr_wsrep_notify.status;
SELECT COUNT(DISTINCT idx) FROM mtr_wsrep_notify.status;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment