mirror of
https://github.com/apple/swift-nio
synced 2026-11-26 04:57:49 +00:00
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:
1 parent
e3497ffdc5
commit
77d35d2f43
1 file changed
+3
-3
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user