Skip to content

Commit f71d985

Browse files
committed
Disable crashing URLSession test
1 parent a39f398 commit f71d985

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tests/Foundation/TestURLSession.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,9 @@ final class TestURLSession: LoopbackServerTest, @unchecked Sendable {
652652
}
653653

654654
func test_repeatedRequestsStress() async throws {
655+
#if os(Windows)
656+
throw XCTSkip("This test is currently disabled on Windows")
657+
#else
655658
// TODO: try disabling curl connection cache to force socket close early. Or create several url sessions (they have cleanup in deinit)
656659

657660
let config = URLSessionConfiguration.default
@@ -692,6 +695,7 @@ final class TestURLSession: LoopbackServerTest, @unchecked Sendable {
692695
checkCountAndRunNext()
693696

694697
waitForExpectations(timeout: 30)
698+
#endif
695699
}
696700

697701
func test_httpRedirectionWithCode300() async throws {

0 commit comments

Comments
 (0)