summaryrefslogtreecommitdiff
path: root/mysql-test/t/wait_timeout_not_windows.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/wait_timeout_not_windows.test')
-rw-r--r--mysql-test/t/wait_timeout_not_windows.test15
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/t/wait_timeout_not_windows.test b/mysql-test/t/wait_timeout_not_windows.test
new file mode 100644
index 00000000000..43ba48e4c43
--- /dev/null
+++ b/mysql-test/t/wait_timeout_not_windows.test
@@ -0,0 +1,15 @@
+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;