Skip to content

Commit 248c662

Browse files
author
Nirbhay Choubey
committed
Minor test modifications.
1 parent f9e7f82 commit 248c662

File tree

4 files changed

+19
-26
lines changed

4 files changed

+19
-26
lines changed

mysql-test/include/check-testcase.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
--source include/wait_until_ready.inc
2+
13
# ==== Purpose ====
24
#
35
# This test is executed twice for each test case. Before every

mysql-test/include/mtr_warnings.sql

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -225,27 +225,6 @@ INSERT INTO global_suppressions VALUES
225225
("Slave I/O: The slave I/O thread stops because a fatal error is encountered when it tried to SET @master_binlog_checksum on master.*"),
226226
("Slave I/O: Get master BINLOG_CHECKSUM failed with error.*"),
227227
("Slave I/O: Notifying master by SET @master_binlog_checksum= @@global.binlog_checksum failed with error.*"),
228-
229-
/*
230-
Galera suppressions
231-
*/
232-
("WSREP:.*down context.*"),
233-
("WSREP: Failed to send state UUID:.*"),
234-
("WSREP: wsrep_sst_receive_address is set to '127.0.0.1"),
235-
("WSREP: option --wsrep-casual-reads is deprecated"),
236-
("WSREP: --wsrep-casual-reads=ON takes precedence over --wsrep-sync-wait=0"),
237-
("WSREP: Could not open saved state file for reading: "),
238-
("WSREP: access file\\(gvwstate\\.dat\\) failed\\(No such file or directory\\)"),
239-
("WSREP: Gap in state sequence\\. Need state transfer\\."),
240-
("WSREP: Failed to prepare for incremental state transfer: Local state UUID \\(00000000-0000-0000-0000-000000000000\\) does not match group state UUID"),
241-
("WSREP: No existing UUID has been found, so we assume that this is the first time that this server has been started\\. Generating a new UUID: "),
242-
("WSREP: last inactive check more than"),
243-
("WSREP: binlog cache not empty \\(0 bytes\\) at connection close"),
244-
("WSREP: Failed to guess base node address"),
245-
("WSREP: Guessing address for incoming client connections failed"),
246-
("WSREP: Failed to read output of: '/sbin/ifconfig"),
247-
("WSREP: SQL statement was ineffective"),
248-
249228
("THE_LAST_SUPPRESSION")||
250229

251230

mysql-test/suite/galera/suite.pm

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,16 @@ return "No my_print_defaults" unless $epath;
2424

2525
push @::global_suppressions,
2626
(
27+
qr(WSREP: Failed to guess base node address),
28+
qr(WSREP: Guessing address for incoming client connections failed),
29+
qr(WSREP: wsrep_sst_receive_address is set to '127.0.0.1),
30+
qr(WSREP: Could not open saved state file for reading: ),
31+
qr(WSREP: Gap in state sequence. Need state transfer.),
32+
qr(WSREP: Failed to prepare for incremental state transfer:),
2733
qr(WSREP:.*down context.*),
28-
qr(WSREP: Failed to send state UUID:.*),
29-
qr(WSREP: wsrep_sst_receive_address.*),
30-
qr(WSREP: Could not open saved state file for reading: .*),
34+
qr(WSREP: Failed to send state UUID:),
3135
qr(WSREP: last inactive check more than .* skipping check),
32-
qr(WSREP: Gap in state sequence. Need state transfer.),
33-
qr(WSREP: Failed to prepare for incremental state transfer: .*),
36+
qr(WSREP: SQL statement was ineffective),
3437
);
3538

3639

mysql-test/suite/wsrep/suite.pm

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ return "No SST scripts" unless $spath;
2222
my ($epath) = grep { -f "$_/my_print_defaults"; } "$::bindir/extra", $::path_client_bindir;
2323
return "No my_print_defaults" unless $epath;
2424

25+
push @::global_suppressions,
26+
(
27+
qr(WSREP: Failed to guess base node address),
28+
qr(WSREP: Guessing address for incoming client connections failed),
29+
qr(WSREP: Could not open saved state file for reading: ),
30+
qr(WSREP: option --wsrep-casual-reads is deprecated),
31+
qr(WSREP: --wsrep-casual-reads=ON takes precedence over --wsrep-sync-wait=0),
32+
);
33+
2534
$ENV{PATH}="$epath:$ENV{PATH}";
2635
$ENV{PATH}="$spath:$ENV{PATH}" unless $epath eq $spath;
2736

0 commit comments

Comments
 (0)