Skip to content

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

test(storage): fix stale lease clock offset in host bus test

Steven Enamakel9d25bb536ce9
diff --git a/crates/openhuman-core/src/modules/storage_host_bus_tests.rs b/crates/openhuman-core/src/modules/storage_host_bus_tests.rs
index 0d72cdc5d5..c318ab8aca 100644
--- a/crates/openhuman-core/src/modules/storage_host_bus_tests.rs
+++ b/crates/openhuman-core/src/modules/storage_host_bus_tests.rs
@@ -99,7 +99,7 @@ async fn a_module_write_under_a_stale_lease_is_fenced_by_the_host() {
// The lease runs out; the module's next write is refused by the host's fence,
// and a read is not.
- clock.store(10 * 60 * 1000, Ordering::SeqCst);
+ clock.store(start_ms + 10 * 60 * 1000, Ordering::SeqCst);
let result = call(
&rig,
&alpha(),