2015-05-05 20:23:22 +02:00
|
|
|
--source include/have_ssl_communication.inc
|
2022-12-20 13:38:29 +02:00
|
|
|
# Do not run this test with valgrind as may timeout
|
|
|
|
--source include/not_valgrind.inc
|
2015-05-05 20:23:22 +02:00
|
|
|
|
|
|
|
# Save the initial number of concurrent sessions
|
|
|
|
--source include/count_sessions.inc
|
|
|
|
|
|
|
|
--echo # connect with read timeout so SLEEP() should timeout
|
|
|
|
connect (ssl_con,localhost,root,,,,,SSL read_timeout=5);
|
|
|
|
|
|
|
|
--echo # Check ssl turned on
|
2016-08-19 20:03:05 +00:00
|
|
|
SELECT (VARIABLE_VALUE <> '') AS have_ssl FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME='Ssl_cipher';
|
2015-05-05 20:23:22 +02:00
|
|
|
|
|
|
|
# --error CR_SERVER_LOST
|
2022-05-23 14:38:56 +02:00
|
|
|
--error 2013,2026
|
2015-05-05 20:23:22 +02:00
|
|
|
SELECT SLEEP(600);
|
|
|
|
|
|
|
|
connection default;
|
|
|
|
disconnect ssl_con;
|
|
|
|
|
|
|
|
# Wait till all disconnects are completed
|
|
|
|
--source include/wait_until_count_sessions.inc
|