Skip to content

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

test(saas_mode): point test storage at a temp sqlite url

Steven Enamakel16f28e0b8ed2
diff --git a/tests/saas_mode/support.rs b/tests/saas_mode/support.rs
index 365b06c52d..4b91c4f592 100644
--- a/tests/saas_mode/support.rs
+++ b/tests/saas_mode/support.rs
@@ -82,6 +82,10 @@ pub fn core_command(d: &Deployment, extra: &[&str]) -> Command {
// exercise secret storage without an RPC host installing an OS keyring.
cmd.env("HOME", d.tmp.path())
.env("USERPROFILE", d.tmp.path())
+ .env(
+ "OPENHUMAN_STORAGE_URL",
+ format!("sqlite:{}", d.tmp.path().join("storage").display()),
+ )
.env("OPENHUMAN_KEYRING_BACKEND", "file")
.env("OPENHUMAN_KEYRING_MASTER_KEY", TEST_MASTER_KEY);
cmd