Skip to content

Commit

Permalink
fix: flaky worker test (#11540)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju committed Jul 28, 2021
1 parent 7f3a34e commit c198535
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/tests/workers/http_worker.js
Original file line number Diff line number Diff line change
@@ -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 () => {
Expand Down
2 changes: 1 addition & 1 deletion cli/tests/workers/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ Deno.test({
await result;

assert(worker);
const response = await fetch("https://localhost:4500");
const response = await fetch("https://localhost:4506");
assert(await response.arrayBuffer());
worker.terminate();
},
Expand Down

0 comments on commit c198535

Please sign in to comment.