mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 03:21:53 +01:00
added test galera_sst_mariabackup_encrypt_with_key; corrected path to galera_ist_mariabackup test
This commit is contained in:
parent
92e99775e9
commit
ace0b7215e
5 changed files with 29 additions and 0 deletions
|
@ -0,0 +1,3 @@
|
|||
SELECT 1;
|
||||
1
|
||||
1
|
|
@ -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
|
|
@ -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
|
Loading…
Add table
Reference in a new issue