]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#260,!120] Nap longer - missed in previous commit.
authorMarcin Siodelski <marcin@isc.org>
Tue, 20 Nov 2018 17:13:19 +0000 (18:13 +0100)
committerThomas Markwalder <tmark@isc.org>
Tue, 20 Nov 2018 18:25:03 +0000 (13:25 -0500)
src/lib/util/threads/tests/watched_thread_unittest.cc

index a64ab09fdc0442fc393df654d18e324680782bb4..593e50951cb9cf070afe1c9e99cddfc4ddae824d 100644 (file)
@@ -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));