Skip to content

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

test(profiles): loosen superseded profile write assertion

Steven Enamakel620759daed66
diff --git a/crates/openhuman-core/src/profiles/host_storage_tests.rs b/crates/openhuman-core/src/profiles/host_storage_tests.rs
index e2d0050d9b..67800a71e5 100644
--- a/crates/openhuman-core/src/profiles/host_storage_tests.rs
+++ b/crates/openhuman-core/src/profiles/host_storage_tests.rs
@@ -75,11 +75,8 @@ async fn assert_supplied_backend_owns_the_cap_and_fence(
},
)
.await;
- eprintln!("profile cron update after takeover: {update:?}");
assert!(
- update
- .as_ref()
- .is_err_and(|error| error.to_string().contains("Failed to update cron job")),
+ update.is_err(),
"a superseded profile must refuse backend writes: {update:?}"
);
let unchanged = crate::cron::client::store_in::<crate::cron::CronJob>(