Compare commits

...

7 Commits

Author SHA1 Message Date
Dylan Conway
003e6c499d update 2025-06-11 21:08:08 -07:00
Dylan Conway
d6fb0482ed Merge branch 'main' into dylan/test-file-route-fix 2025-06-11 20:39:17 -07:00
Dylan Conway
9bda712adb Update src/bun.js/api/server/FileRoute.zig 2025-06-11 18:06:02 -07:00
Dylan Conway
bbdc8dbe61 update 2025-06-11 17:14:37 -07:00
Dylan Conway
aafa320971 Update src/bun.js/api/server/FileRoute.zig 2025-06-11 16:43:07 -07:00
Dylan Conway
c4a3cac81a Merge branch 'main' into dylan/test-file-route-fix 2025-06-11 16:17:27 -07:00
Dylan Conway
9215fdc91f update 2025-06-11 14:15:31 -07:00

View File

@@ -374,7 +374,7 @@ describe("Bun.file in serve routes", () => {
"concurrent requests for %s",
async filename => {
const batchSize = 16;
const iterations = 10;
const iterations = 2;
async function iterate() {
const promises = Array.from({ length: batchSize }, () =>
@@ -388,10 +388,10 @@ describe("Bun.file in serve routes", () => {
// Verify all responses are identical
const expected = results[0];
for (const result of results) {
expect(result?.length).toBe(expected.length);
results.forEach(result => {
expect(result.length).toBe(expected.length);
expect(result).toBe(expected);
}
});
}
for (let i = 0; i < iterations; i++) {