summaryrefslogtreecommitdiff
path: root/mysql-test/t/wait_timeout_not_windows.test
blob: de4904fada2e56c52da5f8b1e06691edb57a248c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
source include/not_embedded.inc;
source include/not_windows.inc;

#
# MDEV-7775 Wrong error message (Unknown error) when idle sessions are killed after wait_timeout
#
set global log_warnings=2;
connect (foo,localhost,root);
set @@wait_timeout=1;
sleep 2;
connection default;
let SEARCH_FILE=$MYSQLTEST_VARDIR/log/mysqld.1.err;
let SEARCH_RANGE= -50;
let SEARCH_PATTERN= Aborted.*Got timeout reading communication packets;
source include/search_pattern_in_file.inc;
set global log_warnings=@@log_warnings;