summaryrefslogtreecommitdiff
path: root/test/simple/test-cluster-master-error.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/simple/test-cluster-master-error.js')
-rw-r--r--test/simple/test-cluster-master-error.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/simple/test-cluster-master-error.js b/test/simple/test-cluster-master-error.js
index 4add0eba13..a9b9896179 100644
--- a/test/simple/test-cluster-master-error.js
+++ b/test/simple/test-cluster-master-error.js
@@ -125,8 +125,10 @@ if (cluster.isWorker) {
});
process.once('exit', function() {
- assert.ok(existMaster, 'The master did not die after an error was throwed');
- assert.ok(existWorker, 'The workers did not die after an error in the master');
+ var m = 'The master did not die after an error was throwed';
+ assert.ok(existMaster, m);
+ m = 'The workers did not die after an error in the master';
+ assert.ok(existWorker, m);
});
}