Commit 2a4bd038 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-30055 - fix race condition in shutdown_debug.test

Remove DBUG_ASSERT, that depends on timing/scheduling to succeed.
parent 6b083ce8
......@@ -1110,7 +1110,6 @@ void setup_connection_thread_globals(THD *thd)
{
DBUG_EXECUTE_IF("CONNECT_wait", {
extern Dynamic_array<MYSQL_SOCKET> listen_sockets;
DBUG_ASSERT(listen_sockets.size());
while (listen_sockets.size())
my_sleep(1000);
});
......
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