summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-07-28 13:12:45 +0200
committerGitHub <noreply@github.com>2021-07-28 13:12:45 +0200
commitc198535caf7209460b938fc7bbd48c80742c950c (patch)
treede1ee7d66943d6c0ab286843e4275a81c910df3e /cli/tests
parent7f3a34eeb89e7c930b8189f95c5f8715185da587 (diff)
fix: flaky worker test (#11540)
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/workers/http_worker.js2
-rw-r--r--cli/tests/workers/test.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/workers/http_worker.js b/cli/tests/workers/http_worker.js
index 6a3b49b56..34603ed56 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 d35dbec82..d62b644a4 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();
},