summaryrefslogtreecommitdiff
path: root/mysql-test/include/galera_variables_ok_debug.inc
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2021-05-04 08:44:56 +0300
committerJan Lindström <jan.lindstrom@mariadb.com>2021-05-05 09:32:06 +0300
commit0238e68464e3f6ca74c7cba17b8c73b4497f9da8 (patch)
tree31e0ec281e73e71b1006f94916466efb0a8ccdef /mysql-test/include/galera_variables_ok_debug.inc
parent4ff4df3232f3a46053e005a071345cfa247f06a4 (diff)
downloadmariadb-git-0238e68464e3f6ca74c7cba17b8c73b4497f9da8.tar.gz
MDEV-25591 : Test case cleanups
galera_var_wsrep_on_off : Add wait conditions to make sure DDL is replicated before continuing. wsrep.[variables|variables_debug] : Remove unnecessary parts and add check to correct number of variables or skip galera_ssl_reload: Add version check and SSL checks.
Diffstat (limited to 'mysql-test/include/galera_variables_ok_debug.inc')
-rw-r--r--mysql-test/include/galera_variables_ok_debug.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/include/galera_variables_ok_debug.inc b/mysql-test/include/galera_variables_ok_debug.inc
new file mode 100644
index 00000000000..c9a54724c17
--- /dev/null
+++ b/mysql-test/include/galera_variables_ok_debug.inc
@@ -0,0 +1,9 @@
+--disable_query_log
+
+--let $galera_variables_ok = `SELECT COUNT(*) = 50 FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME LIKE 'wsrep%'`
+
+--if (!$galera_variables_ok) {
+ --skip Galera number of variables has changed!
+}
+
+--enable_query_log