summaryrefslogtreecommitdiff
path: root/test/parallel/test-cluster-process-disconnect.js
Commit message (Collapse)AuthorAgeFilesLines
* test: assert.strictEqual using template literalsjmcgui052017-10-091-2/+10
| | | | | | PR-URL: https://github.com/nodejs/node/pull/15944 Reviewed-By: Lance Ball <lball@redhat.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
* test: remove common.PORT from test-cluster*.jsTarun Batra2017-04-181-1/+1
| | | | | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/12441 Ref: https://github.com/nodejs/node/issues/12376 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* cluster: don't send messages if no IPC channelSantiago Gimeno2016-06-081-0/+18
Avoid sending messages if the IPC channel is already disconnected. It avoids undesired errors when calling `process.disconnect` when there are still pending IPC messages. PR-URL: https://github.com/nodejs/node/pull/7132 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>