Skip to content

Commit

Permalink
Merge pull request eclipse-iceoryx#423 from elfenpiff/iox2-422-fix-fl…
Browse files Browse the repository at this point in the history
…aky-thread-test

[eclipse-iceoryx#422] Use assert_that(..., time_at_least ...)
  • Loading branch information
elfenpiff authored Oct 1, 2024
2 parents 5f2174a + ac509bc commit aec86ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iceoryx2-bb/posix/tests/thread_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit aec86ae

Please sign in to comment.