Skip to content

Commit

Permalink
tests: Skip timer in Miri test
Browse files Browse the repository at this point in the history
Signed-off-by: John Nunley <[email protected]>
  • Loading branch information
notgull committed Mar 2, 2024
1 parent 37af072 commit de81089
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/larger_tasks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ fn yield_now() {
do_run(|ex| async move { ex.spawn(future::yield_now()).await })
}

// Miri does not support timers.
#[cfg(not(miri))]
#[test]
fn timer() {
do_run(|ex| async move {
Expand Down

0 comments on commit de81089

Please sign in to comment.