diff options
author | 2022-11-12 18:30:12 -0800 | |
---|---|---|
committer | 2022-11-12 18:30:12 -0800 | |
commit | 21bf3ddaf23c842dc12a1d76dbd3b48daf08f349 (patch) | |
tree | 06706104877984e9f083fed7c3278c9d007193cc /test/bun.js/streams.test.js | |
parent | 514f2a8eddf1a1d35a33cc096ed7403a79afe36f (diff) | |
download | bun-21bf3ddaf23c842dc12a1d76dbd3b48daf08f349.tar.gz bun-21bf3ddaf23c842dc12a1d76dbd3b48daf08f349.tar.zst bun-21bf3ddaf23c842dc12a1d76dbd3b48daf08f349.zip |
Redo how we poll pipes (#1496)
* Fix pipe
* Handle unregistered
* Fix failing test
Diffstat (limited to '')
-rw-r--r-- | test/bun.js/streams.test.js | 3 |
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(); |