From fa74de3cf257dfd7c14c17403928d8b785c43df6 Mon Sep 17 00:00:00 2001 From: Rahim Kanji Date: Fri, 7 Nov 2025 17:28:02 +0500 Subject: [PATCH] Add delay to let ProxySQL process mysql_stmt_close() --- test/tap/tests/test_prepare_statement_memory_usage-t.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/tap/tests/test_prepare_statement_memory_usage-t.cpp b/test/tap/tests/test_prepare_statement_memory_usage-t.cpp index 9b2d48dbe..7004a01ac 100644 --- a/test/tap/tests/test_prepare_statement_memory_usage-t.cpp +++ b/test/tap/tests/test_prepare_statement_memory_usage-t.cpp @@ -90,6 +90,7 @@ int check_prepare_statement_mem_usage(MYSQL* proxysql_admin, MYSQL* proxysql, co old_prep_stmt_backend_mem, new_prep_stmt_backend_mem); mysql_stmt_close(stmt); + usleep(10000); return EXIT_SUCCESS; }