From 75bb216dc3a47ba907f04e669a77dcaedaad17af Mon Sep 17 00:00:00 2001 From: snek Date: Tue, 12 Nov 2024 15:07:55 +0100 Subject: [PATCH] hopefully fix windows? --- tests/specs/cli/otel_basic/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/specs/cli/otel_basic/main.ts b/tests/specs/cli/otel_basic/main.ts index 57f3fe619d7d6c..66ef5c79ccd69a 100644 --- a/tests/specs/cli/otel_basic/main.ts +++ b/tests/specs/cli/otel_basic/main.ts @@ -10,12 +10,12 @@ let child: Deno.ChildProcess; Deno.serve( { port: 0, - async onListen({ hostname, port }) { + async onListen({ port }) { const command = new Deno.Command(Deno.execPath(), { args: ["run", "-A", "--unstable-otel", "child.ts"], env: { OTEL_EXPORTER_OTLP_PROTOCOL: "http/json", - OTEL_EXPORTER_OTLP_ENDPOINT: `http://${hostname}:${port}`, + OTEL_EXPORTER_OTLP_ENDPOINT: `http://localhost:${port}`, OTEL_BSP_SCHEDULE_DELAY: "10", OTEL_BLRP_SCHEDULE_DELAY: "10", },