added test galera_sst_mariabackup_encrypt_with_key; corrected path to galera_ist_mariabackup test

This commit is contained in:
zdrav1 2018-09-28 19:05:01 +03:00 committed by Jan Lindström
parent 92e99775e9
commit ace0b7215e
5 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,3 @@
SELECT 1;
1
1

View file

@ -0,0 +1,12 @@
!include ../galera_2nodes.cnf
[mysqld]
wsrep_sst_method=mariabackup
wsrep_sst_auth="root:"
wsrep_debug=ON
[SST]
tkey=@ENV.MYSQL_TEST_DIR/std_data/galera-key.pem
tcert=@ENV.MYSQL_TEST_DIR/std_data/galera-cert.pem
encrypt=3
transferfmt=@ENV.MTR_GALERA_TFMT

View file

@ -0,0 +1,14 @@
#
# This test checks that key and cert encryption options can be passed to xtrabackup via the my.cnf file
# Initial SST happens via xtrabackup, so there is not much to do in the body of the test
#
--source include/big_test.inc
--source include/galera_cluster.inc
--source include/have_innodb.inc
--source include/have_mariabackup.inc
SELECT 1;
--let $wait_condition = SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
--source include/wait_condition.inc