Commit 37c8042c authored by unknown's avatar unknown

Add small sleep after we have detected the server has connected

parent aace9afb
...@@ -37,6 +37,9 @@ while (!`select @aborted_clients`) ...@@ -37,6 +37,9 @@ while (!`select @aborted_clients`)
} }
} }
--enable_query_log --enable_query_log
# The server has disconnected, add small sleep to make sure
# the disconnect has reached client
sleep 1;
connection default; connection default;
# When the connection is closed in this way, the error code should # When the connection is closed in this way, the error code should
...@@ -79,6 +82,9 @@ while (!`select @aborted_clients`) ...@@ -79,6 +82,9 @@ while (!`select @aborted_clients`)
} }
} }
--enable_query_log --enable_query_log
# The server has disconnected, add small sleep to make sure
# the disconnect has reached client
sleep 1;
connection con1; connection con1;
# When the connection is closed in this way, the error code should # When the connection is closed in this way, the error code should
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment