core-agent-ide/codex-rs/rmcp-client/tests
Ahmed Ibrahim 6052558a01
Stabilize RMCP pid file cleanup test (#13881)
## What changed
- The pid-file cleanup test now keeps polling when the pid file exists
but is still empty.
- Assertions only proceed once the wrapper has actually written the
child pid.

## Why this fixes the flake
- File creation and pid writing are not atomic as one logical action
from the test’s point of view.
- The previous test sometimes won the race and read the file in the tiny
window after creation but before the pid bytes were flushed.
- Treating “empty file” as “not ready yet” synchronizes the test on the
real event we need: the wrapper has finished publishing the child pid.

## Scope
- Test-only change.
2026-03-09 10:01:34 -07:00
..
process_group_cleanup.rs Stabilize RMCP pid file cleanup test (#13881) 2026-03-09 10:01:34 -07:00
resources.rs [elicitations] Switch to use MCP style elicitation payload for mcp tool approvals. (#13621) 2026-03-06 01:50:26 -08:00
streamable_http_recovery.rs [rmcp-client] Recover from streamable HTTP 404 sessions (#13514) 2026-03-06 10:02:42 -05:00