aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-04-21 21:59:35 +0200
committerDavid Robillard <d@drobilla.net>2019-04-21 21:59:35 +0200
commitfb77d2cf1b038812055750c6dd653f99bd2b5e7c (patch)
treecf033222c88a462aff7d90ad2016ed6d4cc17a1e
parent2a4e05f99d0f35e6becd690e1d732122812e7929 (diff)
downloadraul-fb77d2cf1b038812055750c6dd653f99bd2b5e7c.tar.gz
raul-fb77d2cf1b038812055750c6dd653f99bd2b5e7c.tar.bz2
raul-fb77d2cf1b038812055750c6dd653f99bd2b5e7c.zip
Loosen semaphore test timing requirements
-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 3830604..808733b 100644
--- a/test/sem_test.cpp
+++ b/test/sem_test.cpp
@@ -57,7 +57,7 @@ main()
sem.timed_wait(std::chrono::milliseconds(100));
const auto end = std::chrono::steady_clock::now();
assert(end - start > std::chrono::milliseconds(80));
- assert(end - start < std::chrono::milliseconds(200));
+ assert(end - start < std::chrono::milliseconds(400));
// Check that we can't successfully wait on a zero semaphore
assert(!sem.timed_wait(std::chrono::milliseconds(100)));