summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authormsvensson@shellback.(none) <>2006-06-15 22:22:59 +0200
committermsvensson@shellback.(none) <>2006-06-15 22:22:59 +0200
commitc857aa1061ed04efc0298bcb892ceaa82121f693 (patch)
treed4c8dadcfc222a4f714baa710c09bab5978bd515 /mysql-test
parent00d7da9177c78e7c567f3279e05dfb8280f16ab9 (diff)
downloadmariadb-git-c857aa1061ed04efc0298bcb892ceaa82121f693.tar.gz
Add small sleep after we have detected the server has connected
Diffstat (limited to 'mysql-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