Lightweight coding agent that runs in your terminal
Rust
Fix flakiness in shell command approval test (#2547)
Gabriel Peal697c7cf4bfad
diff --git a/codex-rs/mcp-server/tests/codex_tool.rs b/codex-rs/mcp-server/tests/codex_tool.rsindex 1ebd10a77a..13866d970c 100644--- a/codex-rs/mcp-server/tests/codex_tool.rs+++ b/codex-rs/mcp-server/tests/codex_tool.rs@@ -86,9 +86,7 @@ async fn shell_command_approval_triggers_elicitation() -> anyhow::Result<()> {).await??;- // This is the first request from the server, so the id should be 0 given- // how things are currently implemented.- let elicitation_request_id = RequestId::Integer(0);+ let elicitation_request_id = elicitation_request.id.clone();let params = serde_json::from_value::<ExecApprovalElicitRequestParams>(elicitation_request.params