Fix test failure on wsrep/variables test case.

This commit is contained in:
Jan Lindström 2020-10-24 14:57:16 +03:00
parent f679d72679
commit 44c958dd7b
2 changed files with 10 additions and 0 deletions

View file

@ -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

View file

@ -1,4 +1,5 @@
--source include/have_wsrep.inc
--source include/galera_have_debug_sync.inc
SET @wsrep_provider_options_saved= @@global.wsrep_provider_options;
SET @wsrep_cluster_address_saved= @@global.wsrep_cluster_address;