| 1 |
# |
| 2 |
# This test checks that qpress compression works with mariabackup |
| 3 |
# Initial SST happens via mariabackup, so there is not much to do in the body |
| 4 |
# of the test |
| 5 |
# |
| 6 |
|
| 7 |
--source include/big_test.inc |
| 8 |
--source include/galera_cluster.inc |
| 9 |
--source include/have_innodb.inc |
| 10 |
--source include/have_mariabackup.inc |
| 11 |
--source include/have_qpress.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 compressed using qpress algorithm |
| 19 |
--let $assert_text = Compressed qpress files found |
| 20 |
--let $assert_select = Compressed qpress files found |
| 21 |
--let $assert_count = 1 |
| 22 |
--let $assert_file = $MYSQLTEST_VARDIR/log/mysqld.2.err |
| 23 |
--let $assert_only_after = CURRENT_TEST |
| 24 |
--source include/assert_grep.inc |