Skip to content

Commit

Permalink
test: debug-signal-cluster increase timeouts
Browse files Browse the repository at this point in the history
The test needs a little more time to run so that it passes for all
builds (eg: Windows, debug)
  • Loading branch information
orangemocha authored and tjfontaine committed Jan 20, 2014
1 parent e12e72e commit edfc0d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/simple/test-debug-signal-cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ child.stderr.on('data', function(data) {

if (waitingForDebuggers) {
outputLines = outputLines.concat(lines);
outputTimerId = setTimeout(onNoMoreLines, 200);
outputTimerId = setTimeout(onNoMoreLines, 800);
} else if (line === 'all workers are running') {
waitingForDebuggers = true;
process._debugProcess(child.pid);
Expand All @@ -54,7 +54,7 @@ function onNoMoreLines() {

setTimeout(function testTimedOut() {
assert(false, 'test timed out.');
}, 3000);
}, 6000);

process.on('exit', function onExit() {
child.kill();
Expand Down

0 comments on commit edfc0d9

Please sign in to comment.