diff --git a/Tests/ExportersTests/OpenTelemetryProtocol/OtlpMetricExporterTests.swift b/Tests/ExportersTests/OpenTelemetryProtocol/OtlpMetricExporterTests.swift index 3db8ba22..a0bde359 100644 --- a/Tests/ExportersTests/OpenTelemetryProtocol/OtlpMetricExporterTests.swift +++ b/Tests/ExportersTests/OpenTelemetryProtocol/OtlpMetricExporterTests.swift @@ -75,7 +75,7 @@ class OtlpMetricExproterTests: XCTestCase { // Start the server and print its address once it has started. let server = Server.insecure(group: serverGroup) .withServiceProviders([fakeCollector]) - .bind(host: "localhost", port: 55680) + .bind(host: "localhost", port: 4317) server.map { $0.channel.localAddress @@ -87,7 +87,7 @@ class OtlpMetricExproterTests: XCTestCase { func startChannel() -> ClientConnection { let channel = ClientConnection.insecure(group: channelGroup) - .connect(host: "localhost", port: 55680) + .connect(host: "localhost", port: 4317) return channel } diff --git a/Tests/ExportersTests/OpenTelemetryProtocol/OtlpTraceExporterTests.swift b/Tests/ExportersTests/OpenTelemetryProtocol/OtlpTraceExporterTests.swift index ee9e3844..a238b5b5 100644 --- a/Tests/ExportersTests/OpenTelemetryProtocol/OtlpTraceExporterTests.swift +++ b/Tests/ExportersTests/OpenTelemetryProtocol/OtlpTraceExporterTests.swift @@ -95,7 +95,7 @@ class OtlpTraceExporterTests: XCTestCase { // Start the server and print its address once it has started. let server = Server.insecure(group: serverGroup) .withServiceProviders([fakeCollector]) - .bind(host: "localhost", port: 55680) + .bind(host: "localhost", port: 4317) server.map { $0.channel.localAddress @@ -107,7 +107,7 @@ class OtlpTraceExporterTests: XCTestCase { func startChannel() -> ClientConnection { let channel = ClientConnection.insecure(group: channelGroup) - .connect(host: "localhost", port: 55680) + .connect(host: "localhost", port: 4317) return channel } }