summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Widenius <monty@mariadb.org>2018-03-15 12:31:59 +0200
committerMonty <monty@mariadb.org>2018-03-20 16:31:55 +0200
commit567426e911aedea2a9e866818850af1f91e17bd4 (patch)
tree5bda6589d5b9b47fd8d60ff47c791f9a8a75c3ad
parent6cb7d8529574858d3f7d6a1fc3ca8104e60168ac (diff)
downloadmariadb-git-10.3-fix-test-suite.tar.gz
Added flush tables to acl_load_mutex-5170.test10.3-fix-test-suite
This is needed as otherwise a lot of MyISAM tables may be marked as crashed, depending on in which order tests are run
-rw-r--r--mysql-test/suite/roles/acl_load_mutex-5170.result1
-rw-r--r--mysql-test/suite/roles/acl_load_mutex-5170.test1
2 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/suite/roles/acl_load_mutex-5170.result b/mysql-test/suite/roles/acl_load_mutex-5170.result
index 6f6688f446e..775541b94f7 100644
--- a/mysql-test/suite/roles/acl_load_mutex-5170.result
+++ b/mysql-test/suite/roles/acl_load_mutex-5170.result
@@ -1,6 +1,7 @@
create user user1@localhost;
create role r1 with admin user1@localhost;
grant all on test.* to r1;
+flush tables;
select 1;
1
1
diff --git a/mysql-test/suite/roles/acl_load_mutex-5170.test b/mysql-test/suite/roles/acl_load_mutex-5170.test
index e77d191ea16..22b9dffb5fd 100644
--- a/mysql-test/suite/roles/acl_load_mutex-5170.test
+++ b/mysql-test/suite/roles/acl_load_mutex-5170.test
@@ -5,6 +5,7 @@
create user user1@localhost;
create role r1 with admin user1@localhost;
grant all on test.* to r1;
+flush tables;
--append_file $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
wait