Lines Matching +full:software +full:- +full:properties +full:- +full:common
4 // copy of this software and associated documentation files (the
5 // "Software"), to deal in the Software without restriction, including
7 // distribute, sublicense, and/or sell copies of the Software, and to permit
8 // persons to whom the Software is furnished to do so, subject to the
12 // in all copies or substantial portions of the Software.
14 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19 // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
20 // USE OR OTHER DEALINGS IN THE SOFTWARE.
23 // test-cluster-worker-exit.js
25 // - the parent receives the proper events in the proper order, no duplicates
26 // - the exitCode and signalCode are correct in the 'exit' event
27 // - the worker.exitedAfterDisconnect flag, and worker.state are correct
28 // - the worker process actually goes away
30 const common = require('../common'); constant
40 server.once('listening', common.mustCall(() => {
74 cluster.on('disconnect', common.mustCall(() => {
77 cluster.on('exit', common.mustCall((worker) => {
83 // Check worker events and properties
84 worker.on('disconnect', common.mustCall(() => {
94 worker.once('exit', common.mustCall((exitCode, signalCode) => {
98 results.worker_died = !common.isAlive(worker.process.pid);