Skip to content

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

fix(tests): remove duplicate `tokio::sync::` path prefix in static lock type

Steven Enamakelc45993dbbcea
diff --git a/tests/json_rpc_e2e.rs b/tests/json_rpc_e2e.rs
index f0150956d3..bf77548325 100644
--- a/tests/json_rpc_e2e.rs
+++ b/tests/json_rpc_e2e.rs
@@ -42,7 +42,7 @@ static JSON_RPC_AUTH_INIT: OnceLock<()> = OnceLock::new();
/// Serializes tests in this binary: `HOME` / `OPENHUMAN_WORKSPACE` / backend URL overrides are
/// process-global, so parallel tests would clobber each other and hit the wrong `config.toml` or
/// inherited `VITE_BACKEND_URL`.
-static JSON_RPC_E2E_ENV_LOCK: OnceLock<tokio::sync:: tokio::sync::Mutex<()>> = OnceLock::new();
+static JSON_RPC_E2E_ENV_LOCK: OnceLock<tokio::sync::Mutex<()>> = OnceLock::new();
static JSON_RPC_E2E_KEYRING_INIT: OnceLock<()> = OnceLock::new();
static JSON_RPC_E2E_MEMORY_SEAMS_INIT: OnceLock<()> = OnceLock::new();
static CHAT_COMPLETION_MODELS: OnceLock<Mutex<Vec<String>>> = OnceLock::new();