Skip to content

Commit

Permalink
MDEV-23595 : galera_3nodes.galera_wsrep_schema MTR failed: mysql_shut…
Browse files Browse the repository at this point in the history
…down failed

Add disconnect.
  • Loading branch information
Jan Lindström committed May 16, 2022
1 parent e2173e8 commit c79e2bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Expand Up @@ -74,3 +74,4 @@ cluster_uuid = (SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHER
SELECT COUNT(*) AS EXPECT_3 FROM mysql.wsrep_cluster_members;
EXPECT_3
3
disconnect node_3;
5 changes: 5 additions & 0 deletions mysql-test/suite/galera_3nodes/t/galera_wsrep_schema.test
Expand Up @@ -17,6 +17,9 @@

# Make the test fail if table structure has changed

--let $wait_condition = SELECT VARIABLE_VALUE = 3 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
--source include/wait_condition.inc

SHOW CREATE TABLE mysql.wsrep_cluster;
SHOW CREATE TABLE mysql.wsrep_cluster_members;

Expand Down Expand Up @@ -74,3 +77,5 @@ SELECT cluster_uuid = (SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STAT
SELECT COUNT(*) AS EXPECT_3 FROM mysql.wsrep_cluster_members;

--source ../galera/include/auto_increment_offset_restore.inc

--disconnect node_3

0 comments on commit c79e2bf

Please sign in to comment.