- Version:
v9.0.0-pre (f2f391e)
- Platform:
Darwin local.finn.no 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64
- Subsystem: child_process
Running node from current master breaks the test suite of worker-farm, and by extension jest as it uses worker-farm for parallelisation, with the following stack trace:
Error [ERR_IPC_CHANNEL_CLOSED]: Channel closed
at ChildProcess.target.send (internal/child_process.js:606:16)
at Object.send (/Users/simbekkh/repos/node-worker-farm/lib/fork.js:24:17)
at Farm.stopChild (/Users/simbekkh/repos/node-worker-farm/lib/farm.js:131:11)
at Farm.<anonymous> (/Users/simbekkh/repos/node-worker-farm/lib/farm.js:96:10)
at ontimeout (timers.js:478:11)
at tryOnTimeout (timers.js:302:5)
at Timer.listOnTimeout (timers.js:262:5)
Reverting f2b01cb makes both worker-farm's and jest's test suites pass.
See #16293
https://github.com/rvagg/node-worker-farm