summaryrefslogtreecommitdiff
path: root/mysql-test/suite/perfschema/t/privilege_table_io.test
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2016-08-29 20:33:25 +0300
committerMonty <monty@mariadb.org>2016-08-29 20:33:25 +0300
commitbbfb5d7c749dc9879dd2d05e94891b8b4be7338f (patch)
tree7d53da6a9e64fb00069e92de4cfef6f005b7e0a4 /mysql-test/suite/perfschema/t/privilege_table_io.test
parent1c91569274219ac612fcfdea4764311e2377977c (diff)
downloadmariadb-git-bbfb5d7c749dc9879dd2d05e94891b8b4be7338f.tar.gz
Fixed failures for privilege_table_io and wsrep_cluster_address_basic
- Sometimes privilege_table_io printed double rows of roles_mapping - Fixed by forcing restart of server when running test - Wsrep_cluster_address_basic failed in some combinations because wsrep_cluster_address was set to NULL - Fixed by ensuring it's never set to NULL, only empty string
Diffstat (limited to 'mysql-test/suite/perfschema/t/privilege_table_io.test')
-rw-r--r--mysql-test/suite/perfschema/t/privilege_table_io.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/suite/perfschema/t/privilege_table_io.test b/mysql-test/suite/perfschema/t/privilege_table_io.test
index 833fe85e8bb..35c49bf33fb 100644
--- a/mysql-test/suite/perfschema/t/privilege_table_io.test
+++ b/mysql-test/suite/perfschema/t/privilege_table_io.test
@@ -1,7 +1,10 @@
# Tests for PERFORMANCE_SCHEMA table io
+# This test makes a restart because without it, events_waits_history_long
+# sometimes contains duplicated entries of roles_mapping.
--source include/not_embedded.inc
--source include/have_perfschema.inc
+--source include/restart_mysqld.inc
--source ../include/table_io_setup_helper.inc
# Remove "deleted" records from mysql.db that may come from previous tests,