Skip to content

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

chore(tests): remove duplicate e2e test files

Steven Enamakel9a76b5fdc06c
diff --git a/tests/json_rpc_e2e.rs b/tests/json_rpc_e2e.rs
index 3bbd6e06bb..31b91848d8 100644
--- a/tests/json_rpc_e2e.rs
+++ b/tests/json_rpc_e2e.rs
@@ -48,15 +48,6 @@ static JSON_RPC_E2E_MEMORY_SEAMS_INIT: OnceLock<()> = OnceLock::new();
static CHAT_COMPLETION_MODELS: OnceLock<Mutex<Vec<String>>> = OnceLock::new();
static CHAT_COMPLETION_REQUESTS: OnceLock<Mutex<Vec<Value>>> = OnceLock::new();
-fn json_rpc_e2e_env_lock() -> tokio::sync::MutexGuard<'static, ()> {
- JSON_RPC_E2E_KEYRING_INIT.get_or_init(|| unsafe {
- std::env::set_var("OPENHUMAN_KEYRING_BACKEND", "file");
- });
- let mutex = JSON_RPC_E2E_ENV_LOCK.get_or_init(|| tokio::sync::Mutex::new(()));
- // A tokio mutex is never poisoned, so a panic in one test cannot cascade to the others.
- mutex.blocking_lock()
-}
-
async fn json_rpc_e2e_env_lock_async() -> tokio::sync::MutexGuard<'static, ()> {
JSON_RPC_E2E_KEYRING_INIT.get_or_init(|| unsafe {
std::env::set_var("OPENHUMAN_KEYRING_BACKEND", "file");
diff --git a/tests/raw_coverage/composio_raw_coverage_e2e.rs b/tests/raw_coverage/composio_raw_coverage_e2e.rs
index 085840dd34..9dd097cc1b 100644
--- a/tests/raw_coverage/composio_raw_coverage_e2e.rs
+++ b/tests/raw_coverage/composio_raw_coverage_e2e.rs
@@ -3,7 +3,7 @@
//! These tests avoid live Composio/backend calls and exercise public helper
//! surfaces that feed the JSON-RPC and agent-tool paths.
-use std::sync::{Arc, Mutex, OnceLock};
+use std::sync::{Arc, OnceLock};
use serde_json::{json, Value};
use tempfile::tempdir;