From ac509bc80a5029de5663bac8b2eed9daca8aec66 Mon Sep 17 00:00:00 2001 From: Christian Eltzschig Date: Tue, 1 Oct 2024 09:02:21 +0200 Subject: [PATCH] [#422] Use assert_that(..., time_at_least ...) --- iceoryx2-bb/posix/tests/thread_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iceoryx2-bb/posix/tests/thread_tests.rs b/iceoryx2-bb/posix/tests/thread_tests.rs index 1ffa824cb..7213653af 100644 --- a/iceoryx2-bb/posix/tests/thread_tests.rs +++ b/iceoryx2-bb/posix/tests/thread_tests.rs @@ -196,7 +196,7 @@ fn thread_destructor_does_block_on_busy_thread() { barrier.wait(); let start = Instant::now(); drop(thread); - assert_that!(start.elapsed(), gt(SLEEP_DURATION)); + assert_that!(start.elapsed(), time_at_least SLEEP_DURATION); } #[test]