Skip to content

Commit bce1f38

Browse files
danielelisiMylesBorins
authored andcommitted
test: add NODE_UNIQUE_ID value to err message
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>
1 parent 4243903 commit bce1f38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-cluster-basic.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ const assert = require('assert');
55
const cluster = require('cluster');
66

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

1011
function forEach(obj, fn) {
1112
Object.keys(obj).forEach((name, index) => {

0 commit comments

Comments
 (0)