diff --git a/test/simple/test-cluster-master-error.js b/test/simple/test-cluster-master-error.js index ee2ed9eb4ee5..3bb980431f8a 100644 --- a/test/simple/test-cluster-master-error.js +++ b/test/simple/test-cluster-master-error.js @@ -114,7 +114,7 @@ if (cluster.isWorker) { existMaster = !!code; // Give the workers time to shut down - setTimeout(checkWorkers, 200); + setTimeout(checkWorkers, 1000); function checkWorkers() { // When master is dead all workers should be dead to diff --git a/test/simple/test-cluster-master-kill.js b/test/simple/test-cluster-master-kill.js index 362540390396..46189696fb49 100644 --- a/test/simple/test-cluster-master-kill.js +++ b/test/simple/test-cluster-master-kill.js @@ -82,7 +82,7 @@ if (cluster.isWorker) { // check worker process status setTimeout(function() { alive = isAlive(pid); - }, 200); + }, 1000); }); process.once('exit', function() {