aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ashcon Partovi <ashcon@partovi.net> 2023-10-17 21:23:13 -0700
committerGravatar GitHub <noreply@github.com> 2023-10-17 21:23:13 -0700
commit49ef5bccec4c61c48171d5bc7b4b74dc8a98bbce (patch)
tree103430bd2b29ba4f7fdbee30ba0fab2b5e397f36
parentdcbcf9803a19be989c0f48d22a50a43731fcfacd (diff)
downloadbun-49ef5bccec4c61c48171d5bc7b4b74dc8a98bbce.tar.gz
bun-49ef5bccec4c61c48171d5bc7b4b74dc8a98bbce.tar.zst
bun-49ef5bccec4c61c48171d5bc7b4b74dc8a98bbce.zip
Fix missing `{port: 0}` causing flaky test
-rw-r--r--test/js/bun/http/fetch-file-upload.test.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/js/bun/http/fetch-file-upload.test.ts b/test/js/bun/http/fetch-file-upload.test.ts
index 197470b9d..f79bd5526 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;