summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/wsrep/suite.pm
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/wsrep/suite.pm')
-rw-r--r--mysql-test/suite/wsrep/suite.pm17
1 files changed, 17 insertions, 0 deletions
diff --git a/mysql-test/suite/wsrep/suite.pm b/mysql-test/suite/wsrep/suite.pm
new file mode 100644
index 00000000..2ee33d83
--- /dev/null
+++ b/mysql-test/suite/wsrep/suite.pm
@@ -0,0 +1,17 @@
+package My::Suite::WSREP;
+
+use lib 'suite';
+use wsrep::common;
+
+@ISA = qw(My::Suite);
+
+return wsrep_not_ok() if wsrep_not_ok();
+
+push @::global_suppressions,
+ (
+ qr(WSREP: Could not open saved state file for reading: .*),
+ qr(WSREP: Could not open state file for reading: .*),
+ qr|WSREP: access file\(.*gvwstate.dat\) failed\(No such file or directory\)|,
+ );
+
+bless { };