Skip to content

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

test: update expected scope names in cron policy failure test

Steven Enamakel7871382baf46
diff --git a/tests/support/cron_policy_failure.rs b/tests/support/cron_policy_failure.rs
index 24cde5e545..0cfbfc61a7 100644
--- a/tests/support/cron_policy_failure.rs
+++ b/tests/support/cron_policy_failure.rs
@@ -416,10 +416,10 @@ pub(super) async fn policy_reads_refuse_execution_without_consuming_a_slot(case:
let reads = faults.calls.lock().unwrap();
assert!(reads
.iter()
- .any(|(scope, id)| scope == "profile:policy-alpha" && id == &job.id));
+ .any(|(scope, id)| scope == "u:policy-alpha" && id == &job.id));
assert!(reads
.iter()
- .any(|(scope, id)| scope == "profile:policy-beta" && id == &job.id));
+ .any(|(scope, id)| scope == "u:policy-beta" && id == &job.id));
}
faults.read.store(false, Ordering::SeqCst);
CoreContext::scope(Arc::clone(&alpha), async {