summaryrefslogtreecommitdiff
path: root/mysql-test/include
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2020-10-06 14:46:47 +0300
committerJan Lindström <jan.lindstrom@mariadb.com>2020-10-10 08:50:50 +0300
commitfc3b5c7db3a6b2f17d55088f6194c8d7ffb54bc5 (patch)
tree6ad0dbf7b9d7c3c76e0afaca402808aded9302e5 /mysql-test/include
parent266bf77bc752c46bbd08fd0b33c7e30ee173e4b6 (diff)
downloadmariadb-git-fc3b5c7db3a6b2f17d55088f6194c8d7ffb54bc5.tar.gz
MDEV-17585 : wsrep.variables failed in buildbot with deadlock on CREATE USER
Stabilize test by using correct galera library and restore original galera cluster at end.
Diffstat (limited to 'mysql-test/include')
-rw-r--r--mysql-test/include/galera_have_debug_sync.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/include/galera_have_debug_sync.inc b/mysql-test/include/galera_have_debug_sync.inc
new file mode 100644
index 00000000000..21e7b3c88c3
--- /dev/null
+++ b/mysql-test/include/galera_have_debug_sync.inc
@@ -0,0 +1,9 @@
+--disable_query_log
+
+--let $galera_have_debug_sync = `SELECT 1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_debug_sync_waiters'`
+
+--if (!$galera_have_debug_sync) {
+ --skip Test requires Galera debug library with debug_sync functionality
+}
+
+--enable_query_log