From edfc0d9ffe02bbf72853e508f0f961e9cf5e7684 Mon Sep 17 00:00:00 2001 From: Alexis Campailla Date: Mon, 13 Jan 2014 06:02:16 -0800 Subject: [PATCH] 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) --- test/simple/test-debug-signal-cluster.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/simple/test-debug-signal-cluster.js b/test/simple/test-debug-signal-cluster.js index 7b2b78c0a2..09dc3b4c2f 100644 --- a/test/simple/test-debug-signal-cluster.js +++ b/test/simple/test-debug-signal-cluster.js @@ -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();