We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c16e23 commit 173a9afCopy full SHA for 173a9af
redis/tests/support/mod.rs
@@ -82,22 +82,6 @@ where
82
res
83
}
84
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
-
101
#[cfg(feature = "async-std-comp")]
102
pub fn block_on_all_using_async_std<F>(f: F) -> F::Output
103
where
0 commit comments