mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
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: https://github.com/iojs/io.js/pull/10
This commit is contained in:
1 parent
e0852118cb
commit
d77f490a04
2 files changed
+2
-2
No files matched your search
@@ -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;
|
||||
|
||||
@@ -33,7 +33,7 @@ if (cluster.isMaster) {
|
||||
var worker = cluster.fork();
|
||||
var timer = setTimeout(function() {
|
||||
assert(false, 'message not received');
|
||||
}, 1000);
|
||||
}, 5000);
|
||||
|
||||
timer.unref();
|
||||
|
||||
|
||||
Reference in new issue
Block a user