Skip to content

Commit 3e1129f

Browse files
committed
move around
1 parent 1e2d732 commit 3e1129f

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

e2e/opentelemetry/opentelemetry.e2e.ts

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,7 @@ import { crypto, fetch } from '@whatwg-node/fetch';
55
import { beforeAll, describe, expect, it } from 'vitest';
66

77
const { gateway, container, gatewayRunner } = createTenv(__dirname);
8-
9-
let supergraph!: string;
10-
11-
const JAEGER_HOSTNAME =
12-
gatewayRunner === 'docker' || gatewayRunner === 'bun-docker'
13-
? isCI()
14-
? '172.17.0.1'
15-
: 'host.docker.internal'
16-
: '0.0.0.0';
17-
188
const exampleSetup = createExampleSetup(__dirname);
19-
209
const runner = {
2110
docker: {
2211
volumes: [
@@ -28,10 +17,17 @@ const runner = {
2817
},
2918
};
3019

20+
let supergraph!: string;
3121
beforeAll(async () => {
3222
supergraph = await exampleSetup.supergraph();
3323
});
3424

25+
const JAEGER_HOSTNAME =
26+
gatewayRunner === 'docker' || gatewayRunner === 'bun-docker'
27+
? isCI()
28+
? '172.17.0.1'
29+
: 'host.docker.internal'
30+
: '0.0.0.0';
3531
let jaeger!: Container;
3632
beforeAll(async () => {
3733
jaeger = await container({

0 commit comments

Comments
 (0)