This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

test: increase timeout in readable stream test

A slightly higher timeout is needed for the test to pass on
Windows debug builds.
  • Loading branch information...
1 parent 8f94ef4 commit 0f10dd4cb2334474d3cab52df8507ddd8781b7f7 @orangemocha orangemocha committed with tjfontaine Jan 14, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 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));
});

0 comments on commit 0f10dd4

Please sign in to comment.