1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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.
This commit is contained in:
Jan Lindström
2021-05-04 08:44:56 +03:00
parent 4ff4df3232
commit 0238e68464
11 changed files with 227 additions and 156 deletions

View File

@ -0,0 +1,28 @@
--source include/have_wsrep.inc
--source include/force_restart.inc
--source include/have_innodb.inc
--source include/have_debug.inc
--source include/have_debug_sync.inc
--source include/galera_have_debug_sync.inc
--let $galera_version=26.4.8
source include/check_galera_version.inc;
source include/galera_variables_ok.inc;
--replace_column 2 #
SHOW GLOBAL STATUS LIKE 'wsrep%';
--echo # Should show nothing.
SHOW STATUS LIKE 'x';
SELECT @@global.wsrep_cluster_address;
SELECT @@global.wsrep_on;
SHOW STATUS LIKE 'threads_connected';
SHOW STATUS LIKE 'wsrep_thread_count';
--echo # variables
SELECT VARIABLE_NAME FROM INFORMATION_SCHEMA.SESSION_VARIABLES WHERE VARIABLE_NAME LIKE "wsrep%" ORDER BY VARIABLE_NAME;