From 49ef5bccec4c61c48171d5bc7b4b74dc8a98bbce Mon Sep 17 00:00:00 2001 From: Ashcon Partovi Date: Tue, 17 Oct 2023 21:23:13 -0700 Subject: [PATCH] Fix missing `{port: 0}` causing flaky test --- test/js/bun/http/fetch-file-upload.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/js/bun/http/fetch-file-upload.test.ts b/test/js/bun/http/fetch-file-upload.test.ts index 197470b9d5..f79bd5526c 100644 --- a/test/js/bun/http/fetch-file-upload.test.ts +++ b/test/js/bun/http/fetch-file-upload.test.ts @@ -138,6 +138,8 @@ test("uploads roundtrip with sendfile()", async () => { require("fs").writeFileSync(path, hugeTxt); const server = Bun.serve({ + port: 0, + development: false, maxRequestBodySize: 1024 * 1024 * 1024 * 8, async fetch(req) { var count = 0;