Skip to content

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

test(orchestration): serialize storage access in async child e2e test

Steven Enamakelbf3055f0b69e
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs
index 93bf593e14..b649d271ed 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs
@@ -295,6 +295,7 @@ async fn failed_async_child_is_reported_to_the_parent_without_a_success_result()
vec![],
);
parent.on_progress = Some(progress_tx);
+ let _storage_lock = crate::storage::test_support::lock_storage_slot();
let storage = crate::storage::test_support::sqlite_backend()
.expect("SQLite backend supports durable child claims");
let _storage_guard = crate::storage::test_support::install_for_test(