summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Vallée <github@benoitvallee.net>2013-04-30 12:25:23 +0800
committerBen Noordhuis <info@bnoordhuis.nl>2013-05-14 12:37:39 +0200
commitdbe9f8da6b114873e781791bb31761d3161cad31 (patch)
tree2bfd4190cd71f9884243e2b3c7748b6184ecf0d7
parentf13a3fd2af3003226092f64524acb11613e1a84d (diff)
downloadnode-dbe9f8da6b114873e781791bb31761d3161cad31.tar.gz
test: increase workers to 8 in cluster-disconnect
Increasing the number of workers from 2 to 8 makes this test more likely to trigger race conditions. See #5330 for background.
-rw-r--r--test/simple/test-cluster-disconnect.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/simple/test-cluster-disconnect.js b/test/simple/test-cluster-disconnect.js
index 4ea6afcaa..5b50261a2 100644
--- a/test/simple/test-cluster-disconnect.js
+++ b/test/simple/test-cluster-disconnect.js
@@ -68,7 +68,7 @@ if (cluster.isWorker) {
// start two workers and execute callback when both is listening
var startCluster = function(cb) {
- var workers = 2;
+ var workers = 8;
var online = 0;
for (var i = 0, l = workers; i < l; i++) {