Skip to content

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

test(orchestration): use real time in failed async child test

Steven Enamakelfffd841064cf
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 69633c6f2d..1735c801e8 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
@@ -280,7 +280,7 @@ async fn spawn_subagent_reports_a_stopped_child_as_incomplete_progress() {
);
}
-#[tokio::test(start_paused = true)]
+#[tokio::test]
async fn failed_async_child_is_reported_to_the_parent_without_a_success_result() {
let _ = AgentDefinitionRegistry::init_global_builtins();
let workspace = tempfile::TempDir::new().expect("workspace");
@@ -320,7 +320,7 @@ async fn failed_async_child_is_reported_to_the_parent_without_a_success_result()
accepted.output()
);
- let failure_result = tokio::time::timeout(std::time::Duration::from_secs(120), async {
+ let failure_result = tokio::time::timeout(std::time::Duration::from_secs(30), async {
loop {
match progress_rx.recv().await {
Some(crate::progress::AgentProgress::SubagentFailed {