Skip to content

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

test(storage): skip restart check for volatile memory backend

Steven Enamakel252604ee4409
diff --git a/tests/storage_delegation_e2e.rs b/tests/storage_delegation_e2e.rs
index faa1b683d6..1a0065a5fd 100644
--- a/tests/storage_delegation_e2e.rs
+++ b/tests/storage_delegation_e2e.rs
@@ -139,9 +139,11 @@ async fn the_delegation_checkpointer_resumes_and_keeps_scopes_apart() {
assert!(local.list_threads().await.unwrap().is_empty());
assert_eq!(plan_of(&local, "run-1").await, None);
- // The checkpoint resumes after the backend is reopened, as a restarted
- // process would.
- {
+ // The checkpoint resumes after a durable backend is reopened, as a
+ // restarted process would. The memory driver is intentionally volatile:
+ // opening it again creates a new, empty backend, so it cannot exercise
+ // restart persistence.
+ if case.url != "memory" {
let url = case.url.clone();
let reopened =
openhuman_core::storage::block_on(