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/cron/ops_delivery_tests.rs

Steven Enamakelc2d44929f9a7
diff --git a/crates/openhuman-core/src/cron/ops_delivery_tests.rs b/crates/openhuman-core/src/cron/ops_delivery_tests.rs
index 82e440cca0..143776697b 100644
--- a/crates/openhuman-core/src/cron/ops_delivery_tests.rs
+++ b/crates/openhuman-core/src/cron/ops_delivery_tests.rs
@@ -1,4 +1,3 @@
-use super::tests::{single_flight_system_job, test_config};
use super::*;
use crate::cron;
use tempfile::TempDir;
@@ -7,12 +6,13 @@ use tinyflows_bus::schedule::types::{DeliveryConfig, DeliveryStatus};
#[tokio::test]
async fn run_job_now_keeps_best_effort_failure_successful_and_records_failed_delivery() {
let tmp = TempDir::new().unwrap();
- let config = test_config(&tmp);
+ let config = tests::test_config(&tmp);
let _handler = crate::cron::system_job_handlers::register(
"ops-run-now-best-effort-delivery-failure",
std::sync::Arc::new(|_ctx| Box::pin(async { Ok(()) })),
);
- let job = single_flight_system_job(&config, "ops-run-now-best-effort-delivery-failure");
+ let job =
+ tests::single_flight_system_job(&config, "ops-run-now-best-effort-delivery-failure");
let missing_channel = format!("missing-{}", uuid::Uuid::new_v4());
cron::update_job(
&config,