Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Fix stale TestAppServer rename in plugin_list test (#25705)

Michael Bolin8ee49a2f74e9
diff --git a/codex-rs/app-server/tests/suite/v2/plugin_list.rs b/codex-rs/app-server/tests/suite/v2/plugin_list.rs
index 99e0dec515..ea9e5f4f35 100644
--- a/codex-rs/app-server/tests/suite/v2/plugin_list.rs
+++ b/codex-rs/app-server/tests/suite/v2/plugin_list.rs
@@ -231,10 +231,10 @@ enabled = true
mount_remote_installed_plugins(&server, "WORKSPACE", empty_remote_installed_plugins_body())
.await;
- let mut mcp = McpProcess::new(codex_home.path()).await?;
- timeout(DEFAULT_TIMEOUT, mcp.initialize()).await??;
+ let mut app_server = TestAppServer::new(codex_home.path()).await?;
+ timeout(DEFAULT_TIMEOUT, app_server.initialize()).await??;
- let request_id = mcp
+ let request_id = app_server
.send_plugin_installed_request(PluginInstalledParams {
cwds: None,
install_suggestion_plugin_names: None,
@@ -243,7 +243,7 @@ enabled = true
let response: JSONRPCResponse = timeout(
DEFAULT_TIMEOUT,
- mcp.read_stream_until_response_message(RequestId::Integer(request_id)),
+ app_server.read_stream_until_response_message(RequestId::Integer(request_id)),
)
.await??;
let response: PluginInstalledResponse = to_response(response)?;