Skip to content

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

test(cron): give each test job a unique id

Steven Enamakel4ffd6112695e
diff --git a/crates/openhuman-core/src/cron/scheduler_tests.rs b/crates/openhuman-core/src/cron/scheduler_tests.rs
index dbefb02266..249e98c3bd 100644
--- a/crates/openhuman-core/src/cron/scheduler_tests.rs
+++ b/crates/openhuman-core/src/cron/scheduler_tests.rs
@@ -30,7 +30,7 @@ fn test_job(command: &str) -> CronJob {
CronJob {
claim_generation: 0,
policy: Default::default(),
- id: "test-job".into(),
+ id: format!("test-job-{}", uuid::Uuid::new_v4()),
expression: "* * * * *".into(),
schedule: tinyflows_bus::schedule::types::Schedule::Cron {
expr: "* * * * *".into(),