From de810893e440e81a738efa7f6423988cf22c3652 Mon Sep 17 00:00:00 2001 From: John Nunley Date: Fri, 1 Mar 2024 21:20:32 -0800 Subject: [PATCH] tests: Skip timer in Miri test Signed-off-by: John Nunley --- tests/larger_tasks.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/larger_tasks.rs b/tests/larger_tasks.rs index 12642ed..3b3f53e 100644 --- a/tests/larger_tasks.rs +++ b/tests/larger_tasks.rs @@ -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 {