2005-10-04 15:43:55 +02:00
|
|
|
# Turn on compression between the client and server
|
|
|
|
# and run a number of tests
|
|
|
|
|
2007-03-05 10:03:42 +01:00
|
|
|
-- source include/have_ssl.inc
|
2005-10-04 15:43:55 +02:00
|
|
|
-- source include/have_compress.inc
|
Added option --staging-run to mysql-test-run to mark slow, not important tests, to not be run in staging trees
Use MY_MUTEX_INIT_FAST for pool mutex
mysql-test/mysql-test-run.pl:
Added option --staging-run
Added information about --parallell=# to help message
mysql-test/suite/federated/federated_server.test:
Slow test, don't run with --staging-run
mysql-test/suite/maria/t/maria-preload.test:
Slow test, don't run with --staging-run
mysql-test/suite/rpl/t/rpl_optimize.test:
Slow test, don't run with --staging-run
mysql-test/suite/rpl/t/rpl_relayrotate.test:
Slow test, don't run with --staging-run
mysql-test/suite/rpl/t/rpl_row_001.test:
Slow test, don't run with --staging-run
mysql-test/suite/rpl/t/rpl_row_mysqlbinlog.test:
Slow test, don't run with --staging-run
mysql-test/suite/rpl/t/rpl_row_sp003.test:
Slow test, don't run with --staging-run
mysql-test/suite/rpl/t/rpl_start_stop_slave.test:
Slow test, don't run with --staging-run
mysql-test/t/compress.test:
Slow test, don't run with --staging-run
mysql-test/t/count_distinct3.test:
Slow test, don't run with --staging-run
mysql-test/t/index_merge_innodb.test:
Slow test, don't run with --staging-run
mysql-test/t/information_schema_all_engines.test:
Slow test, don't run with --staging-run
mysql-test/t/innodb_mysql.test:
Slow test, don't run with --staging-run
mysql-test/t/pool_of_threads.test:
Slow test, don't run with --staging-run
mysql-test/t/preload.test:
Slow test, don't run with --staging-run
mysql-test/t/ssl.test:
Slow test, don't run with --staging-run
mysql-test/t/ssl_compress.test:
Slow test, don't run with --staging-run
mysql-test/valgrind.supp:
Suppress warnings from SuSE 11.1 on x86
sql/scheduler.cc:
Use MY_MUTEX_INIT_FAST for pool mutex
2009-06-05 17:35:22 +02:00
|
|
|
-- source include/not_staging.inc
|
2005-10-04 15:43:55 +02:00
|
|
|
|
2009-03-03 21:34:18 +01:00
|
|
|
# Save the initial number of concurrent sessions
|
|
|
|
--source include/count_sessions.inc
|
|
|
|
|
2005-10-13 11:28:06 +02:00
|
|
|
connect (ssl_compress_con,localhost,root,,,,,SSL COMPRESS);
|
2005-10-04 15:43:55 +02:00
|
|
|
|
|
|
|
# Check ssl turned on
|
|
|
|
SHOW STATUS LIKE 'Ssl_cipher';
|
|
|
|
|
|
|
|
# Check compression turned on
|
|
|
|
SHOW STATUS LIKE 'Compression';
|
|
|
|
|
|
|
|
# Source select test case
|
2005-10-13 11:28:06 +02:00
|
|
|
-- source include/common-tests.inc
|
|
|
|
|
|
|
|
# Check ssl turned on
|
|
|
|
SHOW STATUS LIKE 'Ssl_cipher';
|
2005-10-04 15:43:55 +02:00
|
|
|
|
2005-10-13 11:28:06 +02:00
|
|
|
# Check compression turned on
|
|
|
|
SHOW STATUS LIKE 'Compression';
|
2009-03-03 21:34:18 +01:00
|
|
|
|
|
|
|
connection default;
|
|
|
|
disconnect ssl_compress_con;
|
|
|
|
|
|
|
|
# Wait till all disconnects are completed
|
|
|
|
--source include/wait_until_count_sessions.inc
|
|
|
|
|