Commit d5280bf
test(automation): widen fake codex app-server success timeout under load
Flake #5: the codex app-server / model backend tests (the success-path
`codex_app_server_*` / `fake_codex_app_server_*` cases) flaked under
parallel execution.
`fake_codex_response_timeout()` was 5s on non-Windows — the budget for the
fake codex child (a real python interpreter) to spawn and complete its
scripted turn. Under process-per-test parallelism that spawn can be
scheduled slowly enough to exceed 5s, yielding a spurious "timed out waiting
for codex app-server response".
Fix (test only): use a uniform generous 30s success-path budget (matching
the prior Windows value). Tests that deliberately exercise the timeout path
pass their own tight `Duration` (e.g. 300ms) and are unaffected.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 895b90e commit d5280bf
1 file changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
27 | 34 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
0 commit comments