From 5c3de3e1bcd89b92c70a4d61442fe0019eba99f3 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Sun, 11 Aug 2024 11:43:57 +0800 Subject: [PATCH] fix 100ms delay --- tile/base/thread/cond_var_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tile/base/thread/cond_var_test.cc b/tile/base/thread/cond_var_test.cc index 9009c5c..ee05388 100644 --- a/tile/base/thread/cond_var_test.cc +++ b/tile/base/thread/cond_var_test.cc @@ -85,7 +85,7 @@ TEST_F(CondVarTest, NotifyOne_Wait) { TEST_F(CondVarTest, NotifyOne_WaitFor) { // Wait // constexpr auto kWaitTimeoutMs = 100; - constexpr auto kWaitTimeout = std::chrono::milliseconds(50); + constexpr auto kWaitTimeout = std::chrono::milliseconds(100); auto WaitFor = [&] { UniqueLock inner_locker(*m); SetStarted();