Skip to content

Commit dbf4e68

Browse files
author
Jan Lindström
committed
MDEV-13879: galera.galera_wan fails in buildbot with Stray state UUID msg or with "Transport endpoint is not connected" or with a failure to start a node
Add correct suppressions and wait conditions for expected database contents.
1 parent 6a31e86 commit dbf4e68

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

mysql-test/suite/galera/disabled.def

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,12 @@ galera_gcache_recover_manytrx : MDEV-13549 Galera test failures
2626
galera_ssl_upgrade : MDEV-13549 Galera test failures
2727
galera.MW-329 : wsrep_local_replays not stable
2828
MW-416 : MDEV-13549 Galera test failures
29-
galera_wan : MDEV-13549 Galera test failures
3029
MW-388 : MDEV-13549 Galera test failures
3130
galera_sst_mysqldump_with_key : MDEV-16890 Galera test failure
3231
galera_binlog_stmt_autoinc: MDEV-17106 Test failure on galera.galera_binlog_stmt_autoinc
3332
galera_gc_fc_limit : MDEV-17061 Test failure on galera.galera_gc_fc_limit
3433
galra_unicode_identifiers: MDEV-13871 galera.galera_unicode_identifiers failed in buildbot with 'Unknown database'
3534
galera_suspend_slave: MDEV-13873 galera.galera_suspend_slave failed in buildbot with wrong error code
36-
galera_wan : MDEV-13879 galera.galera_wan fails in buildbot with Stray state UUID msg or with "Transport endpoint is not connected" or with a failure to start a node
3735
partition : MDEV-13881 galera.partition failed in buildbot with wrong result
3836
galera_as_slave_replication_budle : MDEV-15785 Test case galera_as_slave_replication_bundle caused debug assertion
3937

mysql-test/suite/galera/r/galera_wan.result

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1+
CALL mtr.add_suppression("WSREP: Stray state UUID msg:.*");
2+
CALL mtr.add_suppression("WSREP: Sending JOIN failed:.*");
3+
CALL mtr.add_suppression("There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside");
14
SELECT VARIABLE_VALUE = 4 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
25
VARIABLE_VALUE = 4
36
1
47
CREATE TABLE t1 (f1 INTEGER);
58
INSERT INTO t1 VALUES (1);
6-
CALL mtr.add_suppression("There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside");
79
SELECT VARIABLE_VALUE LIKE '%gmcast.segment = 3%' FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME = 'wsrep_provider_options';
810
VARIABLE_VALUE LIKE '%gmcast.segment = 3%'
911
1
1012
SELECT COUNT(*) = 1 FROM t1;
1113
COUNT(*) = 1
1214
1
1315
DROP TABLE t1;
14-
CALL mtr.add_suppression("There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside");

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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,30 @@
99
--source include/galera_cluster.inc
1010
--source include/have_innodb.inc
1111

12+
CALL mtr.add_suppression("WSREP: Stray state UUID msg:.*");
13+
CALL mtr.add_suppression("WSREP: Sending JOIN failed:.*");
14+
CALL mtr.add_suppression("There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside");
15+
1216
SELECT VARIABLE_VALUE = 4 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
1317

1418
--connection node_1
1519
CREATE TABLE t1 (f1 INTEGER);
1620

1721
--connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3
1822
--connection node_3
23+
--let $wait_condition = SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.INNODB_SYS_TABLES WHERE NAME LIKE 'test/t1';
24+
--source include/wait_condition.inc
1925
INSERT INTO t1 VALUES (1);
20-
CALL mtr.add_suppression("There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside");
2126

2227
--connect node_4, 127.0.0.1, root, , test, $NODE_MYPORT_4
2328
--connection node_4
29+
--let $wait_condition = SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.INNODB_SYS_TABLES WHERE NAME LIKE 'test/t1';
30+
--source include/wait_condition.inc
31+
--let $wait_condition = SELECT COUNT(*) = 1 FROM t1;
32+
--source include/wait_condition.inc
2433
SELECT VARIABLE_VALUE LIKE '%gmcast.segment = 3%' FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME = 'wsrep_provider_options';
2534

2635
SELECT COUNT(*) = 1 FROM t1;
2736

2837
DROP TABLE t1;
2938

30-
CALL mtr.add_suppression("There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside");

0 commit comments

Comments
 (0)