0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 09:31:22 -05:00

fix: flaky worker test (#11540)

This commit is contained in:
Bartek Iwańczuk 2021-07-28 13:12:45 +02:00 committed by GitHub
parent 7f3a34eeb8
commit c198535caf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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 () => {

View file

@ -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();
},