Skip to content

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

test(agent-harness): add delay before releasing workspace

Steven Enamakeladc50e8dcee2
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rs
index d82eca90cc..d719299981 100644
--- a/tests/agent_harness_e2e.rs
+++ b/tests/agent_harness_e2e.rs
@@ -1144,6 +1144,7 @@ async fn run_managed_capture_turn(
"managed-capture-thread",
)
.await;
+ tokio::time::sleep(Duration::from_secs(1)).await;
// Session transcript stores and their SQLite backend are also cached by
// workspace path; release them before the next repetition removes it.
openhuman_core::storage::sessions::release_workspace(&workspace_dir);