Skip to content

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

test(session_store): gate driver-backed store test on storage features

Steven Enamakelfc4627dceecc
diff --git a/crates/openhuman-rpc/src/session_store/mod_tests.rs b/crates/openhuman-rpc/src/session_store/mod_tests.rs
index 144ff0bfd6..69ec0bda45 100644
--- a/crates/openhuman-rpc/src/session_store/mod_tests.rs
+++ b/crates/openhuman-rpc/src/session_store/mod_tests.rs
@@ -55,6 +55,11 @@ async fn a_storage_url_installs_the_driver_backed_store() {
/// A storage URL installs the driver-backed store, and two agents on the one
/// backend keep their turn states apart. Run once per driver the build has.
+#[cfg(any(
+ feature = "storage-sqlite",
+ feature = "storage-file",
+ feature = "storage-mongodb"
+))]
async fn driver_backed_store_keeps_agents_apart(url: String, driver: &str) {
let _turn = SLOTS.lock().await;
let previous = crate::core_host::agent::session_store::installed();