Skip to content

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

test(web_chat): adapt turn guard test to new deadline callback signature

Steven Enamakelbd118056bda1
diff --git a/crates/openhuman-core/src/web_chat/ops/turn_guards_tests.rs b/crates/openhuman-core/src/web_chat/ops/turn_guards_tests.rs
index 2030c94db7..e4cd7043e5 100644
--- a/crates/openhuman-core/src/web_chat/ops/turn_guards_tests.rs
+++ b/crates/openhuman-core/src/web_chat/ops/turn_guards_tests.rs
@@ -43,7 +43,7 @@ fn guarded_turn_env_shares_its_cancellation_with_the_stop_handle() {
/// error, which is classified to user-facing copy, not silence.
#[tokio::test(start_paused = true)]
async fn backstop_firing_yields_a_classified_turn_timeout_error() {
- let err = drive_turn_with_deadline(Some(Duration::from_secs(900)), None, None, async {
+ let err = drive_turn_with_deadline(Some(Duration::from_secs(900)), None, None, |_| async {
std::future::pending::<()>().await;
Ok(result("never"))
})