test: fix test-child-process-send-returns-boolean
test-child-process-send-returns-boolean was unreliable in CI and locally.
- use 'SIGKILL' for more reliable process termination
- replace callback with assert.ifError()
- increase interval in fixture from 500ms to 9999ms. It's only purpose is to keep the process from exiting.
Fixes: https://github.com/nodejs/node/issues/20135
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines