Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
test: increase timeout in readable stream test
Browse files Browse the repository at this point in the history
A slightly higher timeout is needed for the test to pass on
Windows debug builds.
  • Loading branch information
orangemocha authored and tjfontaine committed Feb 14, 2014
1 parent 8f94ef4 commit 0f10dd4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/simple/test-stream2-readable-empty-buffer-no-eof.js
Expand Up @@ -50,15 +50,15 @@ function test1() {
case 1: case 1:
return r.push(buf); return r.push(buf);
case 2: case 2:
setTimeout(r.read.bind(r, 0), 10); setTimeout(r.read.bind(r, 0), 50);
return r.push(new Buffer(0)); // Not-EOF! return r.push(new Buffer(0)); // Not-EOF!
case 3: case 3:
setTimeout(r.read.bind(r, 0), 10); setTimeout(r.read.bind(r, 0), 50);
return process.nextTick(function() { return process.nextTick(function() {
return r.push(new Buffer(0)); return r.push(new Buffer(0));
}); });
case 4: case 4:
setTimeout(r.read.bind(r, 0), 10); setTimeout(r.read.bind(r, 0), 50);
return setTimeout(function() { return setTimeout(function() {
return r.push(new Buffer(0)); return r.push(new Buffer(0));
}); });
Expand Down

0 comments on commit 0f10dd4

Please sign in to comment.