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:
@ -1110,7 +1110,6 @@ void setup_connection_thread_globals(THD *thd)
|
|||||||
{
|
{
|
||||||
DBUG_EXECUTE_IF("CONNECT_wait", {
|
DBUG_EXECUTE_IF("CONNECT_wait", {
|
||||||
extern Dynamic_array<MYSQL_SOCKET> listen_sockets;
|
extern Dynamic_array<MYSQL_SOCKET> listen_sockets;
|
||||||
DBUG_ASSERT(listen_sockets.size());
|
|
||||||
while (listen_sockets.size())
|
while (listen_sockets.size())
|
||||||
my_sleep(1000);
|
my_sleep(1000);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user