| 1 |
## Test of session_connect_timeout |
| 2 |
|
| 3 |
## Preamble |
| 4 |
--source include/have_debug.inc |
| 5 |
--source include/xplugin_preamble.inc |
| 6 |
--source include/xplugin_create_user.inc |
| 7 |
|
| 8 |
call mtr.add_suppression("1: Error creating session for connection from .*"); |
| 9 |
## Test starts here |
| 10 |
|
| 11 |
let $restart_parameters = restart: --debug=d,client_accept_timeout; |
| 12 |
--source include/restart_mysqld.inc |
| 13 |
exec $MYSQLXTEST |
| 14 |
-ux_root --password='' --timeout=2000 --expect-error 2500 |
| 15 |
--sql "SELECT 1" 2>&1; |
| 16 |
|
| 17 |
let $restart_parameters = restart: --debug=d,resolve_timeout; |
| 18 |
--source include/restart_mysqld.inc |
| 19 |
exec $MYSQLXTEST |
| 20 |
-ux_root --password='' --timeout=2000 --expect-error 2500 |
| 21 |
--sql "SELECT 1" 2>&1; |
| 22 |
|
| 23 |
let $restart_parameters = restart: --debug=d,authentication_timeout; |
| 24 |
--source include/restart_mysqld.inc |
| 25 |
exec $MYSQLXTEST |
| 26 |
-ux_root --password='' --timeout=2000 --expect-error 2500 |
| 27 |
--sql "SELECT 1" 2>&1; |
| 28 |
|
| 29 |
## Cleanup |
| 30 |
let $restart_parameters = restart: ; |
| 31 |
--source include/restart_mysqld.inc |
| 32 |
--source ../include/xplugin_cleanup.inc |