Skip to content

Commit

Permalink
return time
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-shchetinin committed Aug 6, 2024
1 parent 5e7f975 commit d48a8d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/sessions_pool_it/sessions_pool_it.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit d48a8d0

Please sign in to comment.