summaryrefslogtreecommitdiff
path: root/mysql-test/suite
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2016-09-30 09:13:39 +0300
committerJan Lindström <jan.lindstrom@mariadb.com>2016-09-30 09:13:39 +0300
commitd83fd5fcde3a3feacab9006c63538541bd6e1c85 (patch)
tree6e86e261a1c565c9635e4b51ea5f0bc52289f216 /mysql-test/suite
parent6925689ca829901567e9503fd4fdce443f9a7d53 (diff)
downloadmariadb-git-d83fd5fcde3a3feacab9006c63538541bd6e1c85.tar.gz
MDEV-10685: innodb.xa_recovery failed in buildbot
Test crashes server intentionally, need to be prepared for crash recovery and database page corruption.
Diffstat (limited to 'mysql-test/suite')
-rw-r--r--mysql-test/suite/innodb/r/xa_recovery.result1
-rw-r--r--mysql-test/suite/innodb/t/xa_recovery.test5
2 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/r/xa_recovery.result b/mysql-test/suite/innodb/r/xa_recovery.result
index 84cb37ef7c9..e65f702c488 100644
--- a/mysql-test/suite/innodb/r/xa_recovery.result
+++ b/mysql-test/suite/innodb/r/xa_recovery.result
@@ -1,3 +1,4 @@
+call mtr.add_suppression("InnoDB: Warning: database page corruption or a failed");
CREATE TABLE t1 (a INT) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1);
XA START 'x';
diff --git a/mysql-test/suite/innodb/t/xa_recovery.test b/mysql-test/suite/innodb/t/xa_recovery.test
index 2c1034f3c4d..32373d63d14 100644
--- a/mysql-test/suite/innodb/t/xa_recovery.test
+++ b/mysql-test/suite/innodb/t/xa_recovery.test
@@ -12,6 +12,11 @@ if (`select plugin_auth_version <= "5.6.24" from information_schema.plugins wher
FLUSH TABLES;
--enable_query_log
+#
+# We kill server belown with timeout 0 that is not fully safe
+#
+call mtr.add_suppression("InnoDB: Warning: database page corruption or a failed");
+
CREATE TABLE t1 (a INT) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1);
connect (con1,localhost,root);