Commit 77934323 authored by Jan Lindström's avatar Jan Lindström Committed by GitHub

Merge pull request #722 from codership/MDEV-16006

MDEV-16006 Fix test galera_kill_nochanges
parents 2cdaa569 dfb1fdab
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1);
Killing server ...
SET SESSION wsrep_sync_wait = 0;
SET SESSION wsrep_sync_wait = DEFAULT;
SELECT COUNT(*) = 1 FROM t1;
COUNT(*) = 1
1
......
......@@ -11,6 +11,14 @@ INSERT INTO t1 VALUES (1);
--connection node_2
--source include/kill_galera.inc
--connection node_1
SET SESSION wsrep_sync_wait = 0;
--let $wait_condition = SELECT VARIABLE_VALUE = 'non-Primary' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_status'
--source include/wait_condition.inc
SET SESSION wsrep_sync_wait = DEFAULT;
--connection node_2
--source include/start_mysqld.inc
--let $galera_connection_name = node_2a
......
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