From 3a9008a6d886f1f4de0bd19291fb583946ee9bcd Mon Sep 17 00:00:00 2001 From: Marcin Siodelski Date: Tue, 20 Nov 2018 18:13:19 +0100 Subject: [PATCH] [#260,!120] Nap longer - missed in previous commit. --- src/lib/util/threads/tests/watched_thread_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/util/threads/tests/watched_thread_unittest.cc b/src/lib/util/threads/tests/watched_thread_unittest.cc index a64ab09fdc..593e50951c 100644 --- a/src/lib/util/threads/tests/watched_thread_unittest.cc +++ b/src/lib/util/threads/tests/watched_thread_unittest.cc @@ -158,7 +158,7 @@ TEST_F(WatchedThreadTest, watchedThreadClassBasics) { ASSERT_FALSE(wthread_->isReady(WatchedThread::TERMINATE)); // Wait a little while. - nap(3); + nap(6); // It should now indicate an error. ASSERT_TRUE(wthread_->isReady(WatchedThread::ERROR)); @@ -189,7 +189,7 @@ TEST_F(WatchedThreadTest, watchedThreadClassBasics) { ASSERT_FALSE(wthread_->isReady(WatchedThread::TERMINATE)); // Wait a little while. - nap(8); + nap(6); // It should now indicate data ready. ASSERT_TRUE(wthread_->isReady(WatchedThread::READY)); -- 2.47.2