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:
parent
e12e72eb58
commit
edfc0d9ffe
@ -40,7 +40,7 @@ child.stderr.on('data', function(data) {
|
|||||||
|
|
||||||
if (waitingForDebuggers) {
|
if (waitingForDebuggers) {
|
||||||
outputLines = outputLines.concat(lines);
|
outputLines = outputLines.concat(lines);
|
||||||
outputTimerId = setTimeout(onNoMoreLines, 200);
|
outputTimerId = setTimeout(onNoMoreLines, 800);
|
||||||
} else if (line === 'all workers are running') {
|
} else if (line === 'all workers are running') {
|
||||||
waitingForDebuggers = true;
|
waitingForDebuggers = true;
|
||||||
process._debugProcess(child.pid);
|
process._debugProcess(child.pid);
|
||||||
@ -54,7 +54,7 @@ function onNoMoreLines() {
|
|||||||
|
|
||||||
setTimeout(function testTimedOut() {
|
setTimeout(function testTimedOut() {
|
||||||
assert(false, 'test timed out.');
|
assert(false, 'test timed out.');
|
||||||
}, 3000);
|
}, 6000);
|
||||||
|
|
||||||
process.on('exit', function onExit() {
|
process.on('exit', function onExit() {
|
||||||
child.kill();
|
child.kill();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user