Skip to content

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

test(caps_host): raise agent test timeouts to 30s

Steven Enamakel3b27f24b996b
diff --git a/crates/openhuman-core/src/flows/caps_host/agent_tests.rs b/crates/openhuman-core/src/flows/caps_host/agent_tests.rs
index a3ae1fc45b..97288dcfec 100644
--- a/crates/openhuman-core/src/flows/caps_host/agent_tests.rs
+++ b/crates/openhuman-core/src/flows/caps_host/agent_tests.rs
@@ -236,11 +236,11 @@ async fn headless_flow_agent_includes_nested_grandchild_result() {
.await
});
let grandchild_reached_model = matches!(
- tokio::time::timeout(std::time::Duration::from_secs(5), child_started_rx).await,
+ tokio::time::timeout(std::time::Duration::from_secs(30), child_started_rx).await,
Ok(Ok(()))
);
tokio::time::timeout(
- std::time::Duration::from_secs(5),
+ std::time::Duration::from_secs(30),
model.root_followup.notified(),
)
.await
@@ -607,7 +607,7 @@ async fn headless_child_at_depth_cap_gets_readable_spawn_refusal() {
.expect("the child reaches the scripted model")
.expect("the child start signal is delivered");
tokio::time::timeout(
- std::time::Duration::from_secs(5),
+ std::time::Duration::from_secs(30),
model.root_followup.notified(),
)
.await