Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/simple/test-cluster-master-error.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/simple/test-cluster-master-kill.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ if (cluster.isWorker) {
// check worker process status
setTimeout(function() {
alive = isAlive(pid);
}, 200);
}, 1000);
});

process.once('exit', function() {
Expand Down