Skip to content

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

chore(config): remove unused test_env.rs file

Steven Enamakelefebd19e51d1
diff --git a/crates/openhuman-core/src/config/test_env.rs b/crates/openhuman-core/src/config/test_env.rs
index ddc1164511..557aea5892 100644
--- a/crates/openhuman-core/src/config/test_env.rs
+++ b/crates/openhuman-core/src/config/test_env.rs
@@ -31,11 +31,7 @@ pub(crate) const WORKSPACE: &str = "OPENHUMAN_WORKSPACE";
/// `tokio::sync::Mutex` (never poisoned, safe to hold across `.await`), so this
/// blocking form panics inside a tokio runtime: `#[tokio::test]` bodies use
/// [`lock_env_async`] instead.
-pub(crate) fn lock_env() -> tokio::sync::MutexGuard<'static, ()> {
- TEST_ENV_LOCK.blocking_lock()
-}
-
-pub(crate) async fn lock_env_async() -> tokio::sync::MutexGuard<'static, ()> {
+pub(crate) fn lock_env() -> MutexGuard<'static, ()> {
TEST_ENV_LOCK.blocking_lock()
}