Commit 5fdbd4e
committed
fix: accept both -1 and 143 exit codes in timeout test
On GHA runners, the sleep process may receive SIGTERM from the runner's
process management before our 1-second timeout fires. Both exit codes
are valid: -1 (our timeout sentinel) and 143 (128 + SIGTERM from
external signal). exec sleep prevents orphan processes.1 parent cf88ed6 commit 5fdbd4e
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | | - | |
442 | | - | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
443 | 447 | | |
444 | 448 | | |
445 | 449 | | |
| |||
0 commit comments