Skip to content

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

test(cron): isolate headless descendant fixture storage

Steven Enamakel137815f39ebf
diff --git a/crates/openhuman-core/src/cron/scheduler_headless_descendants_tests.rs b/crates/openhuman-core/src/cron/scheduler_headless_descendants_tests.rs
index 34402562eb..44c502afd5 100644
--- a/crates/openhuman-core/src/cron/scheduler_headless_descendants_tests.rs
+++ b/crates/openhuman-core/src/cron/scheduler_headless_descendants_tests.rs
@@ -37,6 +37,10 @@ fn scheduled_agent_fixture(
let mut config = Config::default();
config.workspace_dir = temp.path().join("workspace");
config.action_dir = config.workspace_dir.clone();
+ config.storage.url = Some(format!(
+ "sqlite:{}",
+ temp.path().join("storage.sqlite").display()
+ ));
config.default_model = Some("test-model".into());
config.chat_provider = Some("omlx:test-model".into());
config.agent.agent_timeout_secs = timeout_secs;