mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
f9315b3321
Test fixes: Since fix for CONC-603 (wrong error handling in TLS read/write) in case of a read/write error client doesn't return always error 2013 (server has gone away), so in addition we need to check for error 2026 (TLS/SSL error) and 5014 (write error).
10 lines
346 B
Text
10 lines
346 B
Text
# connect with read timeout so SLEEP() should timeout
|
|
connect ssl_con,localhost,root,,,,,SSL read_timeout=5;
|
|
# Check ssl turned on
|
|
SELECT (VARIABLE_VALUE <> '') AS have_ssl FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME='Ssl_cipher';
|
|
have_ssl
|
|
1
|
|
SELECT SLEEP(600);
|
|
Got one of the listed errors
|
|
connection default;
|
|
disconnect ssl_con;
|