Skip to content

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

test(cron): qualify list_jobs call in ops test

Steven Enamakel9e6f6eb23a8c
diff --git a/crates/openhuman-core/src/cron/ops_tests.rs b/crates/openhuman-core/src/cron/ops_tests.rs
index 732852981b..4da5385089 100644
--- a/crates/openhuman-core/src/cron/ops_tests.rs
+++ b/crates/openhuman-core/src/cron/ops_tests.rs
@@ -204,7 +204,7 @@ fn add_once_creates_future_at_schedule() {
let config = test_config(&tmp);
// The first call in a process starts the module runtime and attaches the
// module (seconds); take the baseline after it so only the call is timed.
- list_jobs(&config).unwrap();
+ crate::cron::list_jobs(&config).unwrap();
let before = chrono::Utc::now();
let job = add_once(&config, "5m", "echo hello").unwrap();
match job.schedule {