summaryrefslogtreecommitdiffstats
path: root/test/sem_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/sem_test.cpp')
-rw-r--r--test/sem_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sem_test.cpp b/test/sem_test.cpp
index 8daf82b..3830604 100644
--- a/test/sem_test.cpp
+++ b/test/sem_test.cpp
@@ -56,7 +56,7 @@ main()
const auto start = std::chrono::steady_clock::now();
sem.timed_wait(std::chrono::milliseconds(100));
const auto end = std::chrono::steady_clock::now();
- assert(end - start > std::chrono::milliseconds(100));
+ assert(end - start > std::chrono::milliseconds(80));
assert(end - start < std::chrono::milliseconds(200));
// Check that we can't successfully wait on a zero semaphore