Debian Codegraph @

mysql-test/suite/x/t/connection_timeout.test

raw
1 --echo Preamble
2 --source include/xplugin_preamble.inc
3 --source include/xplugin_create_user.inc
4
5 --write_file $MYSQL_TMP_DIR/mysqlx-client-timeout.xpl
6 # Expect CR_X_READ_TIMEOUT
7 -->expecterror 2500
8 -->recv
9 -->stmtsql select user();
10 -->recvresult
11 EOF
12
13 --echo
14 --echo ############################################################
15 --echo ## Trigger read timeout and then try to execute SQL
16
17 exec $MYSQLXTEST
18 -u x_root
19 --password=''
20 -h127.0.0.1
21 --timeout=2000
22 --file=$MYSQL_TMP_DIR/mysqlx-client-timeout.xpl 2>&1;
23
24 ## Cleanup
25 --source ../include/xplugin_cleanup.inc
26