Skip to content

Commit 388ed5d

Browse files
committed
Remove NIO patch for CI that was upstreamed
1 parent 64bcef4 commit 388ed5d

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

package-patches/swift-nio-change-tmp-and-disable-tests.patch

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -71,26 +71,6 @@ index f3e452dc..a2db1282 100644
7171
("testReceiveEcnAndPacketInfoIPV6VectorReadVectorWrite", testReceiveEcnAndPacketInfoIPV6VectorReadVectorWrite),
7272
("testSendingAddressedEnvelopeOnUnconnectedSocketSucceeds", testSendingAddressedEnvelopeOnUnconnectedSocketSucceeds),
7373
("testSendingByteBufferOnUnconnectedSocketFails", testSendingByteBufferOnUnconnectedSocketFails),
74-
diff --git a/Tests/NIOPosixTests/SocketChannelTest.swift b/Tests/NIOPosixTests/SocketChannelTest.swift
75-
index 082cb70b..609c8aff 100644
76-
--- a/Tests/NIOPosixTests/SocketChannelTest.swift
77-
+++ b/Tests/NIOPosixTests/SocketChannelTest.swift
78-
@@ -907,6 +907,7 @@ public final class SocketChannelTest : XCTestCase {
79-
}
80-
81-
func testSimpleMPTCP() throws {
82-
+ #if os(Linux)
83-
let group = MultiThreadedEventLoopGroup(numberOfThreads: 1)
84-
defer { XCTAssertNoThrow(try group.syncShutdownGracefully()) }
85-
86-
@@ -942,6 +943,7 @@ public final class SocketChannelTest : XCTestCase {
87-
XCTAssertEqual(error.errnoCode, EOPNOTSUPP, "Unexpected error: \(error)")
88-
return
89-
}
90-
+ #endif
91-
}
92-
}
93-
9474
diff --git a/Tests/NIOPosixTests/TestUtils.swift b/Tests/NIOPosixTests/TestUtils.swift
9575
index 603b4141..f0937993 100644
9676
--- a/Tests/NIOPosixTests/TestUtils.swift

0 commit comments

Comments
 (0)