1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-30055 - fix race condition in shutdown_debug.test

Remove DBUG_ASSERT, that depends on timing/scheduling to succeed.
This commit is contained in:
Vladislav Vaintroub
2022-11-21 11:14:54 +01:00
parent 6b083ce851
commit 2a4bd038f7

View File

@ -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);
});