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/bus_host_tests.rs

Steven Enamakel1cd29a9f4729
diff --git a/crates/openhuman-core/src/cron/bus_host_tests.rs b/crates/openhuman-core/src/cron/bus_host_tests.rs
index 771da057f7..58a9f898cd 100644
--- a/crates/openhuman-core/src/cron/bus_host_tests.rs
+++ b/crates/openhuman-core/src/cron/bus_host_tests.rs
@@ -397,18 +397,10 @@ fn triggered_run_guard_retains_long_lived_ids_past_1024_runs() {
binding.publish_triggered_once(&job, &format!("long-lived-run-{index}"));
}
- let before = binding
- .triggered_runs
- .lock()
- .unwrap()
- .len();
+ let before = binding.triggered_runs.lock().unwrap().len();
assert_eq!(before, 1025);
binding.publish_triggered_once(&job, "long-lived-run-0");
- let after = binding
- .triggered_runs
- .lock()
- .unwrap()
- .len();
+ let after = binding.triggered_runs.lock().unwrap().len();
assert_eq!(after, before, "an active run must remain deduplicated");
}