test: debug-signal-cluster increase timeouts

The test needs a little more time to run so that it passes for all
builds (eg: Windows, debug)
This commit is contained in:
Alexis Campailla 2014-01-13 06:02:16 -08:00 committed by Timothy J Fontaine
parent e12e72eb58
commit edfc0d9ffe

View File

@ -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);
@ -54,7 +54,7 @@ function onNoMoreLines() {
setTimeout(function testTimedOut() {
assert(false, 'test timed out.');
}, 3000);
}, 6000);
process.on('exit', function onExit() {
child.kill();