summaryrefslogtreecommitdiff
path: root/cli/tests/workers/http_worker.js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2021-04-21 22:02:11 -0400
committerGitHub <noreply@github.com>2021-04-21 22:02:11 -0400
commitb837fc300d5f31cf2628e81d59e388286493ce71 (patch)
tree232922f7f6adc5b57e4824d9cd5a75b071ef0c0b /cli/tests/workers/http_worker.js
parentff9ff4a3771689c56d557bf0dbeeb46a50d1adf2 (diff)
fix(#10302): flaky worker test (#10303)
Diffstat (limited to 'cli/tests/workers/http_worker.js')
-rw-r--r--cli/tests/workers/http_worker.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tests/workers/http_worker.js b/cli/tests/workers/http_worker.js
index ee2e5397e..6a3b49b56 100644
--- a/cli/tests/workers/http_worker.js
+++ b/cli/tests/workers/http_worker.js
@@ -1,5 +1,6 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
const listener = Deno.listen({ hostname: "127.0.0.1", port: 4500 });
+postMessage("ready");
for await (const conn of listener) {
(async () => {
const requests = Deno.serveHttp(conn);