|
9 | 9 | --source include/galera_cluster.inc
|
10 | 10 | --source include/have_innodb.inc
|
11 | 11 |
|
| 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 | + |
12 | 16 | SELECT VARIABLE_VALUE = 4 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
|
13 | 17 |
|
14 | 18 | --connection node_1
|
15 | 19 | CREATE TABLE t1 (f1 INTEGER);
|
16 | 20 |
|
17 | 21 | --connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3
|
18 | 22 | --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 |
19 | 25 | 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"); |
21 | 26 |
|
22 | 27 | --connect node_4, 127.0.0.1, root, , test, $NODE_MYPORT_4
|
23 | 28 | --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 |
24 | 33 | SELECT VARIABLE_VALUE LIKE '%gmcast.segment = 3%' FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME = 'wsrep_provider_options';
|
25 | 34 |
|
26 | 35 | SELECT COUNT(*) = 1 FROM t1;
|
27 | 36 |
|
28 | 37 | DROP TABLE t1;
|
29 | 38 |
|
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