Skip to content

Commit

Permalink
test: add NODE_UNIQUE_ID value to err message
Browse files Browse the repository at this point in the history
PR-URL: #15914
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
danielelisi authored and MylesBorins committed Oct 25, 2017
1 parent 4243903 commit bce1f38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-cluster-basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ const assert = require('assert');
const cluster = require('cluster');

assert.strictEqual('NODE_UNIQUE_ID' in process.env, false,
'NODE_UNIQUE_ID should be removed on startup');
`NODE_UNIQUE_ID (${process.env.NODE_UNIQUE_ID})` +
'should be removed on startup');

function forEach(obj, fn) {
Object.keys(obj).forEach((name, index) => {
Expand Down

0 comments on commit bce1f38

Please sign in to comment.