diff --git a/test/parallel/test-cluster-disconnect-exitedAfterDisconnect-default.js b/test/parallel/test-cluster-disconnect-exitedAfterDisconnect-exit.js similarity index 100% rename from test/parallel/test-cluster-disconnect-exitedAfterDisconnect-default.js rename to test/parallel/test-cluster-disconnect-exitedAfterDisconnect-exit.js diff --git a/test/parallel/test-cluster-worker-constructor.js b/test/parallel/test-cluster-worker-constructor.js index c116e622e5d0fa..5d4c280e308997 100644 --- a/test/parallel/test-cluster-worker-constructor.js +++ b/test/parallel/test-cluster-worker-constructor.js @@ -29,7 +29,7 @@ const cluster = require('cluster'); let worker; worker = new cluster.Worker(); -assert.strictEqual(worker.exitedAfterDisconnect, undefined); +assert.strictEqual(worker.exitedAfterDisconnect, false); assert.strictEqual(worker.state, 'none'); assert.strictEqual(worker.id, 0); assert.strictEqual(worker.process, undefined); @@ -39,7 +39,7 @@ worker = new cluster.Worker({ state: 'online', process: process }); -assert.strictEqual(worker.exitedAfterDisconnect, undefined); +assert.strictEqual(worker.exitedAfterDisconnect, false); assert.strictEqual(worker.state, 'online'); assert.strictEqual(worker.id, 3); assert.strictEqual(worker.process, process);