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: nodejs/node#15914
Reviewed-By: Daijiro Wachi <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
danielelisi authored and addaleax committed Oct 11, 2017
1 parent 9889c74 commit a8fb2a1
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 @@ -26,7 +26,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 a8fb2a1

Please sign in to comment.