Skip to content

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

test(channels): drop persistent storage override from ops tests

Steven Enamakel6220d40b41b7
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 92376eebe7..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
@@ -386,8 +386,6 @@ async fn offline_snapshot_scans_every_thread_and_message_page() {
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 workspace = config.workspace_dir.clone();
let ctx = DispatchCtx::ambient();
diff --git a/crates/openhuman-core/src/channels/controllers/ops_tests.rs b/crates/openhuman-core/src/channels/controllers/ops_tests.rs
index ea97ce9fe2..d3733d9728 100644
--- a/crates/openhuman-core/src/channels/controllers/ops_tests.rs
+++ b/crates/openhuman-core/src/channels/controllers/ops_tests.rs
@@ -12,8 +12,6 @@ fn isolated_test_config() -> (tempfile::TempDir, Config) {
config.workspace_dir = tmp.path().join("workspace");
config.config_path = tmp.path().join("config.toml");
std::fs::create_dir_all(&config.workspace_dir).expect("failed to create workspace dir");
- #[cfg(feature = "storage-sqlite")]
- crate::storage::local::use_persistent_default_for_test(&config.workspace_dir);
(tmp, config)
}