aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/streams.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/bun.js/streams.test.js')
-rw-r--r--test/bun.js/streams.test.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/bun.js/streams.test.js b/test/bun.js/streams.test.js
index c6d69ab08..75ac964ca 100644
--- a/test/bun.js/streams.test.js
+++ b/test/bun.js/streams.test.js
@@ -218,7 +218,8 @@ it("Bun.file() read text from pipe", async () => {
mkfifo("/tmp/fifo", 0o666);
- const large = "HELLO!".repeat((((1024 * 512) / "HELLO!".length) | 0) + 1);
+ // 65k so its less than the max on linux
+ const large = "HELLO!".repeat((((1024 * 65) / "HELLO!".length) | 0) + 1);
const chunks = [];
var out = Bun.file("/tmp/fifo").stream();