test: kill subprocess only after last ACK
requested to merge github/fork/refack/deflake-parallel-test-child-process-send-returns-boolean into master
- Add multiple comments.
- Switch to a persistent fixture for subprocess.
- Assert that
send
queue is drained.
Fixes: https://github.com/nodejs/node/issues/15176
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
test, child_process