Repository navigation
Commit df64c69
test(scripts): publish escaped child readiness after IPC closes
The escaped-output fixture previously announced readiness before its IPC handshake finished. A watchdog could kill the parent first, causing an unhandled EPIPE and invalidating the intended live-pipe cleanup scenario. Publish readiness from the disconnect event after the handshake.
The original whole-file run passed 50 tests; forcing that ordering reproduced the exact CI assertion failure. The repaired whole file passes 50 tests under normal scheduling and 50 with the same forced ordering. Deadlines, cleanup assertions and production code are unchanged.
Co-authored-by: zhang-guiping <[email protected]>1 parent 0b15ca8 commit df64c69
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
973 | 973 | | |
974 | 974 | | |
975 | 975 | | |
976 | | - | |
977 | | - | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
978 | 981 | | |
979 | 982 | | |
980 | 983 | | |
| |||
0 commit comments