Commit 37c8042c authored by unknown's avatar unknown
Browse files

Add small sleep after we have detected the server has connected

parent aace9afb
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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