diff --git a/cli/tests/workers/http_worker.js b/cli/tests/workers/http_worker.js index 6a3b49b56a..34603ed562 100644 --- a/cli/tests/workers/http_worker.js +++ b/cli/tests/workers/http_worker.js @@ -1,5 +1,5 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. -const listener = Deno.listen({ hostname: "127.0.0.1", port: 4500 }); +const listener = Deno.listen({ hostname: "127.0.0.1", port: 4506 }); postMessage("ready"); for await (const conn of listener) { (async () => { diff --git a/cli/tests/workers/test.ts b/cli/tests/workers/test.ts index d35dbec823..d62b644a4d 100644 --- a/cli/tests/workers/test.ts +++ b/cli/tests/workers/test.ts @@ -729,7 +729,7 @@ Deno.test({ await result; assert(worker); - const response = await fetch("http://localhost:4500"); + const response = await fetch("http://localhost:4506"); assert(await response.arrayBuffer()); worker.terminate(); },