Skip to content

Commit 45cb79c

Browse files
authoredAug 6, 2024
Disable test_connectTimeout (#5046)
1 parent 9d1a846 commit 45cb79c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎Tests/Foundation/TestURLSession.swift

+3
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,8 @@ final class TestURLSession: LoopbackServerTest, @unchecked Sendable {
609609
}
610610

611611
func test_connectTimeout() async throws {
612+
throw XCTSkip("This test is disabled (flaky when all tests are run together)")
613+
#if false
612614
// Reconfigure http server for this specific scenario:
613615
// a slow request keeps web server busy, while other
614616
// request times out on connection attempt.
@@ -646,6 +648,7 @@ final class TestURLSession: LoopbackServerTest, @unchecked Sendable {
646648
Self.stopServer()
647649
Self.options = .default
648650
Self.startServer()
651+
#endif
649652
}
650653

651654
func test_repeatedRequestsStress() async throws {

0 commit comments

Comments
 (0)