From: Marcin Siodelski Date: Tue, 20 Nov 2018 17:13:19 +0000 (+0100) Subject: [#260,!120] Nap longer - missed in previous commit. X-Git-Tag: 204-move-models-base~4^2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a9008a6d886f1f4de0bd19291fb583946ee9bcd;p=thirdparty%2Fkea.git [#260,!120] Nap longer - missed in previous commit. --- 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));