diff options
author | Elena Stepanova <elenst@montyprogram.com> | 2015-09-24 21:24:28 +0300 |
---|---|---|
committer | Elena Stepanova <elenst@montyprogram.com> | 2015-09-24 21:24:28 +0300 |
commit | dca4ab92b8e32ae1abe54666cf2313d94d5804a4 (patch) | |
tree | da0ef1788290459fc67686b589dc67ce9e2d8a55 /mysql-test | |
parent | 5cc149febaad181cac65903a62dfe507ae4b6f76 (diff) | |
download | mariadb-git-dca4ab92b8e32ae1abe54666cf2313d94d5804a4.tar.gz |
MDEV-8841 innodb_zip.innodb-create-options fails in buildbot
The real problem is that when innodb.xa_recovery test intentionally
crashes the server, system tables can be opened and marked as crashed,
and the next test in line gets blamed for the error which appears
in the error log.
Fixed by flushing the tables before crashing the server
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/suite/innodb/t/xa_recovery.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/t/xa_recovery.test b/mysql-test/suite/innodb/t/xa_recovery.test index ff6da07f6ac..aec606de77e 100644 --- a/mysql-test/suite/innodb/t/xa_recovery.test +++ b/mysql-test/suite/innodb/t/xa_recovery.test @@ -6,6 +6,12 @@ if (`select plugin_auth_version <= "5.5.43-MariaDB-37.2" from information_schema # Embedded server does not support restarting. --source include/not_embedded.inc +# MDEV-8841 - close tables opened by previous tests, +# so they don't get marked crashed when the server gets crashed +--disable_query_log +FLUSH TABLES; +--enable_query_log + CREATE TABLE t1 (a INT) ENGINE=InnoDB; INSERT INTO t1 VALUES (1); connect (con1,localhost,root); |