summaryrefslogtreecommitdiff
path: root/mysql-test/t/wait_timeout.test
diff options
context:
space:
mode:
authorMatthias Leich <Matthias.Leich@sun.com>2009-03-03 21:34:18 +0100
committerMatthias Leich <Matthias.Leich@sun.com>2009-03-03 21:34:18 +0100
commit140cc614c944154282fce87064f5e3552406a14c (patch)
treef6603b5abdb12bdc27567a91a4cf7efd469d9c8f /mysql-test/t/wait_timeout.test
parente1a197caba314ab7c9fdc608fb57787367236c3d (diff)
downloadmariadb-git-140cc614c944154282fce87064f5e3552406a14c.tar.gz
Last slice of fix for Bug#42003 tests missing the disconnect of connections <> default
+ Fix for Bug#43114 wait_until_count_sessions too restrictive, random PB failures + Removal of a lot of other weaknesses found + modifications according to review
Diffstat (limited to 'mysql-test/t/wait_timeout.test')
-rw-r--r--mysql-test/t/wait_timeout.test5
1 files changed, 4 insertions, 1 deletions
diff --git a/mysql-test/t/wait_timeout.test b/mysql-test/t/wait_timeout.test
index 9b9813f9655..093f69f0143 100644
--- a/mysql-test/t/wait_timeout.test
+++ b/mysql-test/t/wait_timeout.test
@@ -2,7 +2,7 @@
-- source include/not_embedded.inc
#
-# Bug #8731: wait_timeout does not work on Mac OS X
+# Bug#8731 wait_timeout does not work on Mac OS X
#
@@ -87,6 +87,7 @@ while (!`select @aborted_clients`)
}
}
--enable_query_log
+disconnect wait_con;
connection con1;
# When the connection is closed in this way, the error code should
@@ -97,3 +98,5 @@ select 2;
--enable_reconnect
select 3;
disconnect con1;
+# The last connect is to keep tools checking the current test happy.
+connect (default,localhost,root,,test,,);