Skip to content

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

chore: files changed crates/openhuman-core/src/flows/ops_resume_race_tests.rs

Steven Enamakelabefc85d74ad
diff --git a/crates/openhuman-core/src/flows/ops_resume_race_tests.rs b/crates/openhuman-core/src/flows/ops_resume_race_tests.rs
index 9bb0105ad7..6d8463e211 100644
--- a/crates/openhuman-core/src/flows/ops_resume_race_tests.rs
+++ b/crates/openhuman-core/src/flows/ops_resume_race_tests.rs
@@ -306,7 +306,10 @@ async fn cancel_after_a_parked_snapshot_does_not_drop_a_resume_starting() {
.await
.unwrap_err();
drop(claim_resume);
- assert!(error.contains("settled concurrently"), "{error}");
+ assert!(
+ error.contains("settled before it could be cancelled"),
+ "{error}"
+ );
let (token, guard) = owner.take().unwrap();
assert!(!token.is_cancelled());