Skip to content
Permalink
Browse files
MDEV-30055 - fix race condition in shutdown_debug.test
Remove DBUG_ASSERT, that depends on timing/scheduling to succeed.
  • Loading branch information
vaintroub committed Nov 21, 2022
1 parent 6b083ce commit 2a4bd03
Showing 1 changed file with 0 additions and 1 deletion.
@@ -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);
});

0 comments on commit 2a4bd03

Please sign in to comment.