summaryrefslogtreecommitdiff
path: root/mysql-test/t/wait_timeout.test
diff options
context:
space:
mode:
authorunknown <msvensson@shellback.(none)>2006-06-15 22:22:59 +0200
committerunknown <msvensson@shellback.(none)>2006-06-15 22:22:59 +0200
commit37c8042c6d37e1e10b6933c6d237b1c109db7c19 (patch)
treed4c8dadcfc222a4f714baa710c09bab5978bd515 /mysql-test/t/wait_timeout.test
parentaace9afb44385ed40304609b31e6851b5c1a3960 (diff)
downloadmariadb-git-37c8042c6d37e1e10b6933c6d237b1c109db7c19.tar.gz
Add small sleep after we have detected the server has connected
Diffstat (limited to 'mysql-test/t/wait_timeout.test')
-rw-r--r--mysql-test/t/wait_timeout.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/wait_timeout.test b/mysql-test/t/wait_timeout.test
index 9310c3502b9..b17e5314d36 100644
--- a/mysql-test/t/wait_timeout.test
+++ b/mysql-test/t/wait_timeout.test
@@ -37,6 +37,9 @@ while (!`select @aborted_clients`)
}
}
--enable_query_log
+# The server has disconnected, add small sleep to make sure
+# the disconnect has reached client
+sleep 1;
connection default;
# When the connection is closed in this way, the error code should
@@ -79,6 +82,9 @@ while (!`select @aborted_clients`)
}
}
--enable_query_log
+# The server has disconnected, add small sleep to make sure
+# the disconnect has reached client
+sleep 1;
connection con1;
# When the connection is closed in this way, the error code should