Skip to content

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

test(agent-harness): add debug output and lengthen relay sleep

Steven Enamakel2f4cc042489a
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rs
index 6048da93a6..44fa7570d2 100644
--- a/tests/agent_harness_e2e.rs
+++ b/tests/agent_harness_e2e.rs
@@ -1957,7 +1957,9 @@ async fn delegated_clarification_flow_inner() {
dump()
);
// Let the relay turn commit to the thread before the user replies.
- tokio::time::sleep(Duration::from_secs(2)).await;
+ eprintln!("DBG before-sleep reqs={}", with_captured(|c| c.len()));
+ tokio::time::sleep(Duration::from_secs(8)).await;
+ eprintln!("DBG after-sleep reqs={}", with_captured(|c| c.len()));
// ── turn 2: the user's answer resumes the thread ──
let request_id = send_web_chat(