Skip to content

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

test(storage): use shared memory backend helper in agent tests

Steven Enamakel3a18686c0032
diff --git a/crates/openhuman-core/src/storage/agents_tests.rs b/crates/openhuman-core/src/storage/agents_tests.rs
index 3f26664b8d..a77c0a313e 100644
--- a/crates/openhuman-core/src/storage/agents_tests.rs
+++ b/crates/openhuman-core/src/storage/agents_tests.rs
@@ -22,7 +22,7 @@ fn live_agent(agent: &str) -> Arc<CoreContext> {
static CACHE: std::sync::Mutex<()> = std::sync::Mutex::new(());
fn memory_backend() -> Arc<dyn StorageBackend> {
- Arc::new(crate::storage::MemoryStorage::new())
+ crate::storage::test_support::memory_backend()
}
fn visited(