Skip to content

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

test(orchestration): assert owned close returns exactly one result

Steven Enamakel60f6207b9cc9
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_workspace_owner_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_workspace_owner_tests.rs
index 9b04b16cfc..a7177dc916 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_workspace_owner_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_workspace_owner_tests.rs
@@ -360,7 +360,7 @@ async fn driver_job_controls_are_isolated_by_workspace_with_shared_runtime_state
)
.await
.expect("B can close its own durable child");
- assert!(!owned_close.results[0].text().is_empty());
+ assert_eq!(owned_close.results.len(), 1);
assert_eq!(
SubagentSessionStore::new(workspace_b.clone())
.load()