From 199113cb78298b1ca26f86c5f227165a5652766a Mon Sep 17 00:00:00 2001 From: Daniele Lisi Date: Fri, 6 Oct 2017 10:15:23 -0700 Subject: [PATCH] test: add NODE_UNIQUE_ID value to err message PR-URL: https://github.com/nodejs/node/pull/15914 Reviewed-By: Daijiro Wachi Reviewed-By: Benjamin Gruenbaum Reviewed-By: Ruben Bridgewater --- test/parallel/test-cluster-basic.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-cluster-basic.js b/test/parallel/test-cluster-basic.js index 6d1b93f0ef375a..814afdee5efebb 100644 --- a/test/parallel/test-cluster-basic.js +++ b/test/parallel/test-cluster-basic.js @@ -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) => {