Bind to port 0 in a few more places (#2413)
Motivation: Follow up to #2412 which changed the async channel bootstrap tests to bind to port 0 instead of a fixed port. A few instances were missed, this fixes up the remainder. Modifications: - Bind to port 0 Result: Tests should run in parallel without failures.
This commit is contained in:
parent
e3497ffdc5
commit
77d35d2f43
|
@ -143,7 +143,7 @@ final class AsyncChannelBootstrapTests: XCTestCase {
|
|||
}
|
||||
.bind(
|
||||
host: "127.0.0.1",
|
||||
port: 1995,
|
||||
port: 0,
|
||||
protocolNegotiationHandlerType: NIOTypedApplicationProtocolNegotiationHandler<NegotiationResult>.self
|
||||
)
|
||||
|
||||
|
@ -210,7 +210,7 @@ final class AsyncChannelBootstrapTests: XCTestCase {
|
|||
}
|
||||
.bind(
|
||||
host: "127.0.0.1",
|
||||
port: 1995,
|
||||
port: 0,
|
||||
protocolNegotiationHandlerType: NIOTypedApplicationProtocolNegotiationHandler<NegotiationResult>.self
|
||||
)
|
||||
|
||||
|
@ -333,7 +333,7 @@ final class AsyncChannelBootstrapTests: XCTestCase {
|
|||
}
|
||||
.bind(
|
||||
host: "127.0.0.1",
|
||||
port: 1995,
|
||||
port: 0,
|
||||
protocolNegotiationHandlerType: NIOTypedApplicationProtocolNegotiationHandler<NegotiationResult>.self
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue