diff --git a/actix-rt/tests/tests.rs b/actix-rt/tests/tests.rs index 7dc67dfa..551a395d 100644 --- a/actix-rt/tests/tests.rs +++ b/actix-rt/tests/tests.rs @@ -24,6 +24,7 @@ fn await_for_timer() { ); } +#[cfg(not(feature = "io-uring"))] #[test] fn run_with_code() { let sys = System::new(); @@ -107,8 +108,8 @@ fn wait_for_spawns() { let handle = rt.spawn(async { println!("running on the runtime"); - // assertion panic is caught at task boundary - assert_eq!(1, 2); + // panic is caught at task boundary + panic!("intentional test panic"); }); assert!(rt.block_on(handle).is_err());