Skip to content

Commit 305fdcf

Browse files
committed
disabling problematic tests
1 parent ea72382 commit 305fdcf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

FlyingSocks/Tests/AsyncSocketTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ struct AsyncSocketTests {
120120
}
121121
}
122122

123-
@Test
123+
@Test(.disabled("problematic test as file descriptor can be re-opened by another parallel test"))
124124
func socketBytesReadChunk_Throws_WhenSocketIsClosed() async throws {
125125
let s1 = try await AsyncSocket.make()
126126
try s1.close()
@@ -169,7 +169,7 @@ struct AsyncSocketTests {
169169
}
170170
}
171171

172-
@Test(.disabled("problematic test because file descriptor by openened by another parallel test"))
172+
@Test(.disabled("problematic test as file descriptor can be re-opened by another parallel test"))
173173
func socket_Throws_WhenAlreadyCLosed() async throws {
174174
let s1 = try await AsyncSocket.make()
175175

FlyingSocks/XCTests/AsyncSocketTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ final class AsyncSocketTests: XCTestCase {
107107
await AsyncAssertThrowsError(try await s1.read(bytes: 5), of: SocketError.self)
108108
}
109109

110-
func testSocketBytesReadChunk_Throws_WhenSocketIsClosed() async throws {
110+
func disabled_testSocketBytesReadChunk_Throws_WhenSocketIsClosed() async throws {
111111
let s1 = try await AsyncSocket.make()
112112
try s1.close()
113113

0 commit comments

Comments
 (0)