Skip to content

Commit d77f490

Browse files
committed
test: extend timeouts in child/exec tests
increased resillence on slower computers Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> PR-URL: #10
1 parent e085211 commit d77f490

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)