summaryrefslogtreecommitdiff
path: root/mysql-test/include
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2020-10-24 14:57:16 +0300
committerJan Lindström <jan.lindstrom@mariadb.com>2020-10-24 14:57:57 +0300
commit44c958dd7b454ebbdbf7ac8b066592c82dd3409f (patch)
tree52e0b7b00fb68187b17064bff5472a13271eeb3c /mysql-test/include
parentf679d72679376d04c863e80bc68d084eb56795a5 (diff)
downloadmariadb-git-44c958dd7b454ebbdbf7ac8b066592c82dd3409f.tar.gz
Fix test failure on wsrep/variables test case.
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