From bbdc8dbe617f9acb3b44be0d676aba8aaafab9f4 Mon Sep 17 00:00:00 2001 From: Dylan Conway Date: Wed, 11 Jun 2025 17:14:37 -0700 Subject: [PATCH] update --- test/js/bun/http/bun-serve-file.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/js/bun/http/bun-serve-file.test.ts b/test/js/bun/http/bun-serve-file.test.ts index 3d49662bf5..e60c074468 100644 --- a/test/js/bun/http/bun-serve-file.test.ts +++ b/test/js/bun/http/bun-serve-file.test.ts @@ -373,8 +373,8 @@ describe("Bun.file in serve routes", () => { test.each(["hello.txt", "large.txt"])( "concurrent requests for %s", async filename => { - const batchSize = isWindows ? 8 : 32; - const iterations = isWindows ? 2 : 5; + const batchSize = isWindows ? 8 : 16; + const iterations = 2; async function iterate() { const promises = Array.from({ length: batchSize }, () => @@ -389,6 +389,7 @@ describe("Bun.file in serve routes", () => { // Verify all responses are identical const expected = results[0]; results.forEach(result => { + expect(result.length).toBe(expected.length); expect(result).toBe(expected); }); }