From 09f947349005f67ebe1ffcd341276b5ae278c297 Mon Sep 17 00:00:00 2001 From: Akira Hayakawa Date: Thu, 24 Oct 2024 03:43:24 +0000 Subject: [PATCH] try fix Signed-off-by: Akira Hayakawa --- tests/env/src/lib.rs | 2 +- tests/env/tests/env.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/env/src/lib.rs b/tests/env/src/lib.rs index 44c1d5ba..14079513 100644 --- a/tests/env/src/lib.rs +++ b/tests/env/src/lib.rs @@ -169,7 +169,7 @@ impl Env { // On terminating the tokio runtime, // flooding stack traces are printed and they are super noisy. // Until better idea is invented, we just suppress them. - std::panic::set_hook(Box::new(|_info| {})); + // std::panic::set_hook(Box::new(|_info| {})); if with_logging { let format = tracing_subscriber::fmt::format() diff --git a/tests/env/tests/env.rs b/tests/env/tests/env.rs index 48de7e4d..a31a44a4 100644 --- a/tests/env/tests/env.rs +++ b/tests/env/tests/env.rs @@ -28,7 +28,7 @@ async fn panic_loop() -> Result<()> { env.add_node(0); env.check_connectivity(0).await?; - for _ in 0..10 { + for _ in 0..1000 { let mut cli = env.connect_ping_client(0).await?; cli.panic(()).await.ok(); }