Debian Codegraph @

mysql-test/suite/galera/t/galera_sst_mariabackup_encrypt_with_key.test

raw
1 #
2 # This test checks that key and cert encryption options can be passed to
3 # mariabackup via the my.cnf file
4 # Initial SST happens via mariabackup, so there is not much to do in the body
5 # of the test
6 #
7
8 --source include/big_test.inc
9 --source include/galera_cluster.inc
10 --source include/have_innodb.inc
11 --source include/have_mariabackup.inc
12
13 SELECT 1;
14
15 --let $wait_condition = SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
16 --source include/wait_condition.inc
17
18 # Confirm that transfer was SSL-encrypted
19 --let $assert_text = Using openssl based encryption with socat
20 --let $assert_select = Using openssl based encryption with socat: with key and crt
21 --let $assert_count = 1
22 --let $assert_file = $MYSQLTEST_VARDIR/log/mysqld.1.err
23 --let $assert_only_after = CURRENT_TEST
24 --source include/assert_grep.inc