1
#Want to skip this test from daily Valgrind execution
2
--source include/no_valgrind_without_big.inc
3
# Turn on ssl between the client and server
4
# and run a number of tests
6
-- source include/have_ssl_communication.inc
8
# Save the initial number of concurrent sessions
9
--source include/count_sessions.inc
11
connect (ssl_con,localhost,root,,,,,SSL);
14
SHOW STATUS LIKE 'Ssl_cipher';
16
# Check ssl expiration
17
SHOW STATUS LIKE 'Ssl_server_not_before';
18
SHOW STATUS LIKE 'Ssl_server_not_after';
20
# Source select test case
21
-- source include/common-tests.inc
24
SHOW STATUS LIKE 'Ssl_cipher';
30
--echo # Bug#54790: Use of non-blocking mode for sockets limits performance
33
--echo # Open ssl_con and set a timeout.
34
connect (ssl_con,localhost,root,,,,,SSL);
36
LET $ID= `SELECT connection_id()`;
37
SET @@SESSION.wait_timeout = 2;
39
--echo # Wait for ssl_con to be disconnected.
42
SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.PROCESSLIST
44
--source include/wait_condition.inc
46
--echo # Check that ssl_con has been disconnected.
48
--echo # CR_SERVER_LOST, CR_SERVER_GONE_ERROR
55
# Wait till all disconnects are completed
56
--source include/wait_until_count_sessions.inc
58
## This test file is for testing encrypted communication only, not other
59
## encryption routines that the SSL library happens to provide!