polardbxengine/mysql-test/suite/xengine_main/t/compress.test

32 lines
893 B
Plaintext

#Want to skip this test from daily Valgrind execution
--source include/no_valgrind_without_big.inc
# Turn on compression between the client and server
# and run a number of tests
# Save the initial number of concurrent sessions
--source include/count_sessions.inc
connect (comp_con,localhost,root,,,,,COMPRESS);
# Check compression turned on
SHOW STATUS LIKE 'Compression%';
# Source select test case
--source suite/xengine_main/include/common-tests.inc
connection default;
disconnect comp_con;
# Test zstd compressed connection.
connect(zstd_con, localhost, root,,,,,,,zstd,10);
# Check compression turned on
SHOW STATUS LIKE 'Compression%';
--source suite/xengine_main/include/common-tests.inc
connection default;
disconnect zstd_con;
# Wait till all disconnects are completed
--source include/wait_until_count_sessions.inc
--source suite/xengine/include/check_xengine_log_error.inc