Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify tests to not rely on buffer size, but only test larger output
- Loading branch information
1 parent
fb48cac
commit b70fd48
Showing
2 changed files
with
3 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
//Default highWaterMark for readable stream buffers us 64K (2^16) | ||
//so we go over that to get more than a buffer's worth | ||
process.stdout.write('a'.repeat(2**32)); | ||
process.stdout.write('a'.repeat(2**24)); |