Skip to content

Commit

Permalink
test: extend timeouts in child/exec tests
Browse files Browse the repository at this point in the history
increased resillence on slower computers

Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
PR-URL: #10
  • Loading branch information
rvagg committed Nov 29, 2014
1 parent e085211 commit d77f490
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/simple/test-child-process-execsync.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var execSync = require('child_process').execSync;
var execFileSync = require('child_process').execFileSync;

var TIMER = 200;
var SLEEP = 1000;
var SLEEP = 2000;

var start = Date.now();
var err;
Expand Down
2 changes: 1 addition & 1 deletion test/simple/test-cluster-worker-init.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if (cluster.isMaster) {
var worker = cluster.fork();
var timer = setTimeout(function() {
assert(false, 'message not received');
}, 1000);
}, 5000);

timer.unref();

Expand Down

0 comments on commit d77f490

Please sign in to comment.