Skip to content

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

test(orchestration): pause time in stopped-child subagent e2e test

Steven Enamakeld70137bebf76
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs
index d4d4a186f5..9b887dc37c 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs
@@ -57,7 +57,7 @@ async fn spawn_subagent_tool_runs_child_agent_e2e() {
/// finished delegation: the parent's tool result must be a failure, so its own
/// failure policy and its trace see it, and the `SubagentCompleted` progress
/// event must say how the child was stopped.
-#[tokio::test]
+#[tokio::test(start_paused = true)]
async fn spawn_subagent_reports_a_stopped_child_as_a_failed_tool_result() {
let _ = AgentDefinitionRegistry::init_global_builtins();
let workspace = tempfile::TempDir::new().expect("workspace");