Skip to content

Commit

Permalink
Merge pull request #190 from mxiamxia/rm-legacy-port
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignacio Bonafonte authored May 21, 2021
2 parents 4ea467e + 0305c4c commit 664ee4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}
}
Expand Down

0 comments on commit 664ee4d

Please sign in to comment.