revision-id: 8a46b9fe3bb9034d3559cf81505e61d07b1765a8 (mariadb-10.1.37-33-g8a46b9fe3bb) parent(s): fb252f70c17c0ade38082ca5db198dca68b810ed author: Jan Lindström committer: Jan Lindström timestamp: 2018-12-17 05:53:18 +0200 message: MDEV-17771: Add Galera ist and sst tests using mariabackup Add check that file key management plugin is found. --- mysql-test/suite/galera/include/have_filekeymanagement.inc | 3 +++ mysql-test/suite/galera/suite.pm | 2 ++ mysql-test/suite/galera/t/galera_sst_mariabackup_table_options.test | 1 + 3 files changed, 6 insertions(+) diff --git a/mysql-test/suite/galera/include/have_filekeymanagement.inc b/mysql-test/suite/galera/include/have_filekeymanagement.inc new file mode 100644 index 00000000000..f5507ca4548 --- /dev/null +++ b/mysql-test/suite/galera/include/have_filekeymanagement.inc @@ -0,0 +1,3 @@ +# +# Used in galera/suite.pm to check file key management plugin +# diff --git a/mysql-test/suite/galera/suite.pm b/mysql-test/suite/galera/suite.pm index 57615e5e94a..8b7b7034fac 100644 --- a/mysql-test/suite/galera/suite.pm +++ b/mysql-test/suite/galera/suite.pm @@ -96,6 +96,8 @@ if (which(socat)) { sub skip_combinations { my %skip = (); + $skip{'include/have_filekeymanagement.inc'} = 'needs file_key_management plugin' + unless $ENV{FILE_KEY_MANAGEMENT_SO}; $skip{'include/have_xtrabackup.inc'} = 'Need innobackupex' unless which(innobackupex); $skip{'include/have_xtrabackup.inc'} = 'Need socat or nc' diff --git a/mysql-test/suite/galera/t/galera_sst_mariabackup_table_options.test b/mysql-test/suite/galera/t/galera_sst_mariabackup_table_options.test index 03eef64facc..02407547083 100644 --- a/mysql-test/suite/galera/t/galera_sst_mariabackup_table_options.test +++ b/mysql-test/suite/galera/t/galera_sst_mariabackup_table_options.test @@ -1,5 +1,6 @@ --source include/big_test.inc --source include/galera_cluster.inc +--source include/have_filekeymanagement.inc --source include/innodb_encrypt_tables.inc --source include/have_mariabackup.inc