diff --git a/redis/tests/support/mod.rs b/redis/tests/support/mod.rs index 8993fe302..24f786c2e 100644 --- a/redis/tests/support/mod.rs +++ b/redis/tests/support/mod.rs @@ -82,22 +82,6 @@ where res } -#[cfg(feature = "aio")] -#[test] -fn test_block_on_all_panics_from_spawns() { - let result = std::panic::catch_unwind(|| { - block_on_all(async { - tokio::task::spawn(async { - futures_time::task::sleep(futures_time::time::Duration::from_millis(1)).await; - panic!("As it should"); - }); - futures_time::task::sleep(futures_time::time::Duration::from_millis(10)).await; - Ok(()) - }) - }); - assert!(result.is_err()); -} - #[cfg(feature = "async-std-comp")] pub fn block_on_all_using_async_std(f: F) -> F::Output where