Skip to content

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

test: add module status to mcp_clients_connect failure output

Steven Enamakelc7804100e32b
diff --git a/tests/json_rpc_mcp_e2e.rs b/tests/json_rpc_mcp_e2e.rs
index 41680d23fa..57717a8990 100644
--- a/tests/json_rpc_mcp_e2e.rs
+++ b/tests/json_rpc_mcp_e2e.rs
@@ -381,6 +381,10 @@ async fn mcp_clients_reconfigure_then_retire_over_rpc() {
json!({ "server_id": server_id }),
)
.await;
+ if connect.get("error").is_some() {
+ let modules = post_json_rpc(&rpc_base, 9952, "openhuman.modules_list", json!({})).await;
+ panic!("mcp_clients_connect failed; module status: {modules}");
+ }
assert_no_jsonrpc_error(&connect, "mcp_clients_connect");
let listed = post_json_rpc(
&rpc_base,