Skip to content

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

test(agent-harness): drop redundant subagent_spawned assertion

Steven Enamakelc98e3782488b
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rs
index 4d784302be..05fe1d841b 100644
--- a/tests/agent_harness_e2e.rs
+++ b/tests/agent_harness_e2e.rs
@@ -1801,8 +1801,6 @@ async fn subagent_delegation_happy_path_inner() {
"parent response did not follow async dispatch: {full_response}\nevent: {done}"
);
- let spawned = wait_for_event(&mut events, "subagent_spawned", Duration::from_secs(10)).await;
- assert_eq!(spawned.get("agent_id").and_then(Value::as_str), Some("task_manager_agent"));
let deadline = tokio::time::Instant::now() + Duration::from_secs(10);
let requests = loop {
let requests = with_captured(|c| c.clone());