diff options
author | Luca Casonato <hello@lcas.dev> | 2022-02-16 16:51:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-16 16:51:32 +0100 |
commit | be9c2fe267083a2995043ddf6228946f1244ab57 (patch) | |
tree | 8f0993492b058c6c4127297c1e8a5a7ad5078fca /cli/tests/unit/fetch_test.ts | |
parent | 8891c19c57773a5ce3d58dbec20a8d37d780ff63 (diff) |
tests: deflake a bunch of net related tests (#13685)
Diffstat (limited to 'cli/tests/unit/fetch_test.ts')
-rw-r--r-- | cli/tests/unit/fetch_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/unit/fetch_test.ts b/cli/tests/unit/fetch_test.ts index 938df119d..3b2d765a5 100644 --- a/cli/tests/unit/fetch_test.ts +++ b/cli/tests/unit/fetch_test.ts @@ -656,7 +656,7 @@ Deno.test( permissions: { net: true }, }, async function fetchPostBodyString() { - const addr = "127.0.0.1:4502"; + const addr = "127.0.0.1:4511"; const bufPromise = bufferServer(addr); const body = "hello world"; const response = await fetch(`http://${addr}/blah`, { @@ -1039,7 +1039,7 @@ Deno.test( permissions: { net: true }, }, async function fetchPostBodyReadableStream() { - const addr = "127.0.0.1:4502"; + const addr = "127.0.0.1:4511"; const bufPromise = bufferServer(addr); const stream = new TransformStream(); const writer = stream.writable.getWriter(); @@ -1126,7 +1126,7 @@ Deno.test( async function fetchFilterOutCustomHostHeader(): Promise< void > { - const addr = "127.0.0.1:4502"; + const addr = "127.0.0.1:4511"; const listener = returnHostHeaderServer(addr); const response = await fetch(`http://${addr}/`, { headers: { "Host": "example.com" }, |