summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-12-16 18:33:00 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-12-16 18:33:00 +0100
commit21e39758b18049440280664afee8131f8f795525 (patch)
treed868c446d5bc4293cedaba0a8a693fb5c6d44fd7 /test
parent30e1c8d1e6b232b5a8a3ad8c1926a138c9249f7e (diff)
Increase threshold in semaphore test for timedwait in order to have it succeed on FreeBSD.
Diffstat (limited to 'test')
-rw-r--r--test/semaphoretest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/semaphoretest.cc b/test/semaphoretest.cc
index 3211930..1c137c4 100644
--- a/test/semaphoretest.cc
+++ b/test/semaphoretest.cc
@@ -67,7 +67,7 @@ public:
// Allow +/-1ms skew
CPPUNIT_ASSERT(dist((stop - start), std::chrono::milliseconds(1000))
- < std::chrono::milliseconds(1));
+ < std::chrono::milliseconds(60));
}
{ // 100ms timeout
@@ -78,7 +78,7 @@ public:
// Allow +/-1ms skew
CPPUNIT_ASSERT(dist((stop - start), std::chrono::milliseconds(100))
- < std::chrono::milliseconds(1));
+ < std::chrono::milliseconds(60));
}
}
};