Skip to content

Commit 8b45e02

Browse files
committed
test: extend timeout for failure on cluster worker init test
1 parent 013527a commit 8b45e02

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/simple/test-child-process-execsync.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var execSync = require('child_process').execSync;
2828
var execFileSync = require('child_process').execFileSync;
2929

3030
var TIMER = 200;
31-
var SLEEP = 1000;
31+
var SLEEP = 2000;
3232

3333
var start = Date.now();
3434
var err;

test/simple/test-cluster-worker-init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if (cluster.isMaster) {
3333
var worker = cluster.fork();
3434
var timer = setTimeout(function() {
3535
assert(false, 'message not received');
36-
}, 1000);
36+
}, 5000);
3737

3838
timer.unref();
3939

0 commit comments

Comments
 (0)