diff --git a/actix-rt/tests/tests.rs b/actix-rt/tests/tests.rs index 20a77c58..a1f7e473 100644 --- a/actix-rt/tests/tests.rs +++ b/actix-rt/tests/tests.rs @@ -93,6 +93,10 @@ fn non_static_block_on() { assert_eq!("test_str", string); }); + // this drop is required for tokio_uring because it initialize io_uring driver twice! + #[cfg(feature = "io-uring")] + drop(sys); + let rt = actix_rt::Runtime::new().unwrap(); rt.block_on(async {