Skip to content

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

test(connect): pin persistent storage in memory-off thread test

Steven Enamakel6070b39ba9c7
diff --git a/crates/openhuman-core/src/channels/controllers/ops/connect/memory_tests.rs b/crates/openhuman-core/src/channels/controllers/ops/connect/memory_tests.rs
index 477c0ef0f6..d53d71b0cc 100644
--- a/crates/openhuman-core/src/channels/controllers/ops/connect/memory_tests.rs
+++ b/crates/openhuman-core/src/channels/controllers/ops/connect/memory_tests.rs
@@ -308,6 +308,8 @@ async fn memory_off_queues_channel_threads_from_the_canonical_thread_store() {
let mut config = Config::default();
config.workspace_dir = tmp.path().to_path_buf();
config.memory.engine.clear();
+ #[cfg(feature = "storage-sqlite")]
+ crate::storage::local::use_persistent_default_for_test(&config.workspace_dir);
use_linked_channel_module(&mut config).await;
let thread_id = store_channel_thread(
DispatchCtx::ambient(),