Skip to content

Commit 173a9af

Browse files
committed
Removed test_block_on_all_panics_from_spawns
1 parent 7c16e23 commit 173a9af

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

redis/tests/support/mod.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -82,22 +82,6 @@ where
8282
res
8383
}
8484

85-
#[cfg(feature = "aio")]
86-
#[test]
87-
fn test_block_on_all_panics_from_spawns() {
88-
let result = std::panic::catch_unwind(|| {
89-
block_on_all(async {
90-
tokio::task::spawn(async {
91-
futures_time::task::sleep(futures_time::time::Duration::from_millis(1)).await;
92-
panic!("As it should");
93-
});
94-
futures_time::task::sleep(futures_time::time::Duration::from_millis(10)).await;
95-
Ok(())
96-
})
97-
});
98-
assert!(result.is_err());
99-
}
100-
10185
#[cfg(feature = "async-std-comp")]
10286
pub fn block_on_all_using_async_std<F>(f: F) -> F::Output
10387
where

0 commit comments

Comments
 (0)