Skip to content

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

test(subagent_host): drop redundant expectation in cancellation test

Steven Enamakela6074c67361a
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs
index ba970c250e..2210cf266e 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs
@@ -314,8 +314,7 @@ async fn closing_a_durable_driver_session_cancels_only_its_registered_child() {
)
.await
.expect("shared Jobs wait observes cooperative cancellation settlement")
- .expect("Tiny await dispatches successfully")
- .expect("child stays owned until cancellation settles");
+ .expect("Tiny await dispatches successfully");
assert!(!settled.is_error, "settled Jobs wait must remain a result");
assert_eq!(
jobs.get(job_id.as_str()).unwrap().status,