Browse Source

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.
v0.10.6-release
Benoit Vallée 12 years ago
committed by Ben Noordhuis
parent
commit
dbe9f8da6b
  1. 2
      test/simple/test-cluster-disconnect.js

2
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++) {

Loading…
Cancel
Save