From 0f10dd4cb2334474d3cab52df8507ddd8781b7f7 Mon Sep 17 00:00:00 2001 From: Alexis Campailla Date: Tue, 14 Jan 2014 02:00:33 -0800 Subject: [PATCH] test: increase timeout in readable stream test A slightly higher timeout is needed for the test to pass on Windows debug builds. --- test/simple/test-stream2-readable-empty-buffer-no-eof.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/simple/test-stream2-readable-empty-buffer-no-eof.js b/test/simple/test-stream2-readable-empty-buffer-no-eof.js index cd30178580..d52af5edb8 100644 --- a/test/simple/test-stream2-readable-empty-buffer-no-eof.js +++ b/test/simple/test-stream2-readable-empty-buffer-no-eof.js @@ -50,15 +50,15 @@ function test1() { case 1: return r.push(buf); case 2: - setTimeout(r.read.bind(r, 0), 10); + setTimeout(r.read.bind(r, 0), 50); return r.push(new Buffer(0)); // Not-EOF! case 3: - setTimeout(r.read.bind(r, 0), 10); + setTimeout(r.read.bind(r, 0), 50); return process.nextTick(function() { return r.push(new Buffer(0)); }); case 4: - setTimeout(r.read.bind(r, 0), 10); + setTimeout(r.read.bind(r, 0), 50); return setTimeout(function() { return r.push(new Buffer(0)); });