diff options
author | David Robillard <d@drobilla.net> | 2022-08-18 19:55:37 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-08-18 19:55:37 -0400 |
commit | 89d750689d7824066b9783da54186df3748a0ee0 (patch) | |
tree | 7e51cfe085f5b912f46c1fdc254f5af7974bd392 /test | |
parent | feefbc48a39019acd7646bc6835a70963c8b65a2 (diff) | |
download | zix-89d750689d7824066b9783da54186df3748a0ee0.tar.gz zix-89d750689d7824066b9783da54186df3748a0ee0.tar.bz2 zix-89d750689d7824066b9783da54186df3748a0ee0.zip |
Relax test timing
Diffstat (limited to 'test')
-rw-r--r-- | test/test_sem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_sem.c b/test/test_sem.c index 36f85e0..f2b2794 100644 --- a/test/test_sem.c +++ b/test/test_sem.c @@ -59,7 +59,7 @@ test_timed_wait(void) assert(zix_sem_timed_wait(&sem, 0, 0) == ZIX_STATUS_TIMEOUT); assert(zix_sem_timed_wait(&sem, 0, 5000000) == ZIX_STATUS_TIMEOUT); assert(!zix_sem_post(&sem)); - assert(!zix_sem_timed_wait(&sem, 0, 5000000)); + assert(!zix_sem_timed_wait(&sem, 5, 0)); assert(!zix_sem_post(&sem)); assert(!zix_sem_timed_wait(&sem, 1000, 0)); assert(!zix_sem_destroy(&sem)); |