diff --git a/test/parallel/test-cluster-process-disconnect.js b/test/parallel/test-cluster-process-disconnect.js index 2174d118c3244a..1d52d1ca3f65d8 100644 --- a/test/parallel/test-cluster-process-disconnect.js +++ b/test/parallel/test-cluster-process-disconnect.js @@ -6,8 +6,8 @@ const cluster = require('cluster'); if (cluster.isMaster) { const worker = cluster.fork(); worker.on('exit', common.mustCall((code, signal) => { - assert.strictEqual(code, 0, 'worker did not exit normally'); - assert.strictEqual(signal, null, 'worker did not exit normally'); + assert.strictEqual(code, 0, `Worker did not exit normally with code: ${code}`); + assert.strictEqual(signal, null, `Worker did not exit normally with signal: ${signal}`); })); } else { const net = require('net');