Commit 17a9dca
committed
Give the stdio interaction test's child headroom for coverage shutdown
After shutdown closes the child's stdin, the child has to unwind its run
loop, write its clean-exit stderr line, and let coverage's atexit hook
persist the subprocess data file before the stdin-close grace expires.
On a slow Windows runner the production 2s grace was too tight: the
escalation killed the child mid-atexit - after the asserted stderr line,
so the test stayed green - and the silently missing data file failed the
100% coverage gate at 99.95%. Widen the grace to 10s for this one test;
the timeout is not under test here.1 parent dbb885b commit 17a9dca
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
58 | 69 | | |
59 | 70 | | |
60 | 71 | | |
| |||
0 commit comments