Closed addaleax closed 6 years ago
Add a timeout to the process.kill(process.pid, ...) test cases so that the process is always around long enough to receive the signal.
process.kill(process.pid, ...)
Example failure: https://travis-ci.org/tapjs/foreground-child/jobs/133638718
I couldn’t reproduce these problems locally, and I find it slightly weird that some sort of exit takes place before process.kill succeeds, but this does seem to fix the CI failures…
process.kill
ping @isaacs
Add a timeout to the
process.kill(process.pid, ...)
test cases so that the process is always around long enough to receive the signal.Example failure: https://travis-ci.org/tapjs/foreground-child/jobs/133638718
I couldn’t reproduce these problems locally, and I find it slightly weird that some sort of exit takes place before
process.kill
succeeds, but this does seem to fix the CI failures…