Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(e2e): improve timeout panic message formatting

Steven Enamakel678c4e21ce6e
diff --git a/tests/native_channel_session_restart_e2e.rs b/tests/native_channel_session_restart_e2e.rs
index f6caadd7e2..584259b46f 100644
--- a/tests/native_channel_session_restart_e2e.rs
+++ b/tests/native_channel_session_restart_e2e.rs
@@ -484,7 +484,9 @@ async fn wait_for_new_session_reply(state: &MockState) {
return;
}
if Instant::now() >= deadline {
- panic!("timed out waiting for Telegram /new reply; outbound bodies: {sent_snapshot:#?}");
+ panic!(
+ "timed out waiting for Telegram /new reply; outbound bodies: {sent_snapshot:#?}"
+ );
}
sleep(Duration::from_millis(50)).await;
}