Skip to content

Commit 9f422c8

Browse files
authored
[chore] Avoid using the default port for internal metrics in tests (#13213)
This causes errors running the tests on machines that have the collector running on them. Signed-off-by: Bogdan Drutu <[email protected]>
1 parent 83102de commit 9f422c8

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

otelcol/testdata/otelcol-invalid-receiver-type.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ service:
1515
exporter:
1616
prometheus:
1717
host: "localhost"
18-
port: 8888
18+
port: 9999
1919
pipelines:
2020
traces:
2121
receivers: [nop_logs]

otelcol/testdata/otelcol-invalid.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ service:
1515
exporter:
1616
prometheus:
1717
host: "localhost"
18-
port: 8888
18+
port: 9999
1919
pipelines:
2020
traces:
2121
receivers: [nop]

otelcol/testdata/otelcol-invalidprop.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ service:
1919
exporter:
2020
prometheus:
2121
host: "localhost"
22-
port: 8888
22+
port: 9999
2323
pipelines:
2424
traces:
2525
receivers: [nop]

otelcol/testdata/otelcol-nop.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ service:
2121
exporter:
2222
prometheus:
2323
host: "localhost"
24-
port: 8888
24+
port: 9999
2525
extensions: [nop]
2626
pipelines:
2727
traces:

otelcol/testdata/otelcol-statuswatcher.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ service:
1919
exporter:
2020
prometheus:
2121
host: "localhost"
22-
port: 8888
22+
port: 9999
2323
extensions: [statuswatcher]
2424
pipelines:
2525
traces:

otelcol/testdata/otelcol-validprop.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ service:
1919
exporter:
2020
prometheus:
2121
host: "localhost"
22-
port: 8888
22+
port: 9999
2323
pipelines:
2424
traces:
2525
receivers: [nop]

0 commit comments

Comments
 (0)