Skip to content

Commit

Permalink
hopefully fix windows?
Browse files Browse the repository at this point in the history
  • Loading branch information
devsnek committed Nov 12, 2024
1 parent 048057c commit 75bb216
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/specs/cli/otel_basic/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand Down

0 comments on commit 75bb216

Please sign in to comment.