From d48a8d06840b80ac1dde4bde468ee55652a5e8d4 Mon Sep 17 00:00:00 2001 From: st-shchetinin Date: Tue, 6 Aug 2024 20:45:49 +0300 Subject: [PATCH] return time --- tests/integration/sessions_pool_it/sessions_pool_it.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/sessions_pool_it/sessions_pool_it.cpp b/tests/integration/sessions_pool_it/sessions_pool_it.cpp index c30c675479..6b55924bf8 100644 --- a/tests/integration/sessions_pool_it/sessions_pool_it.cpp +++ b/tests/integration/sessions_pool_it/sessions_pool_it.cpp @@ -358,7 +358,7 @@ Y_UNIT_TEST_SUITE(YdbSdkSessionsPool) { RunStressTestAsync(100, 10, client); - std::this_thread::sleep_for(std::chrono::milliseconds(1000)); + std::this_thread::sleep_for(std::chrono::milliseconds(10000)); UNIT_ASSERT_VALUES_EQUAL(client.GetActiveSessionCount(), 0); UNIT_ASSERT_VALUES_EQUAL(client.GetCurrentPoolSize(), activeSessionsLimit); @@ -410,7 +410,7 @@ Y_UNIT_TEST_SUITE(YdbSdkSessionsPool) { sessionFutures.clear(); sessions.clear(); - std::this_thread::sleep_for(std::chrono::milliseconds(5000)); + std::this_thread::sleep_for(std::chrono::milliseconds(10000)); UNIT_ASSERT_VALUES_EQUAL(client.GetActiveSessionCount(), 0); UNIT_ASSERT_VALUES_EQUAL(client.GetCurrentPoolSize(), activeSessionsLimit); }