diff --git a/Tests/Foundation/Tests/TestURLSession.swift b/Tests/Foundation/Tests/TestURLSession.swift index 6b55fc9d76..805e20ff26 100644 --- a/Tests/Foundation/Tests/TestURLSession.swift +++ b/Tests/Foundation/Tests/TestURLSession.swift @@ -1742,7 +1742,7 @@ class TestURLSession: LoopbackServerTest { ("test_simpleUploadWithDelegate", test_simpleUploadWithDelegate), ("test_requestWithEmptyBody", test_requestWithEmptyBody), ("test_requestWithNonEmptyBody", test_requestWithNonEmptyBody), - /* ⚠️ */ ("test_concurrentRequests", testExpectedToFail(test_concurrentRequests, "Fails about 4% of the time")), + ("test_concurrentRequests", test_concurrentRequests), ("test_disableCookiesStorage", test_disableCookiesStorage), ("test_cookiesStorage", test_cookiesStorage), ("test_cookieStorageForEphemeralConfiguration", test_cookieStorageForEphemeralConfiguration), @@ -1756,7 +1756,7 @@ class TestURLSession: LoopbackServerTest { ("test_checkErrorTypeAfterInvalidateAndCancel", test_checkErrorTypeAfterInvalidateAndCancel), ("test_taskCountAfterInvalidateAndCancel", test_taskCountAfterInvalidateAndCancel), ("test_sessionDelegateAfterInvalidateAndCancel", test_sessionDelegateAfterInvalidateAndCancel), - /* ⚠️ */ ("test_getAllTasks", testExpectedToFail(test_getAllTasks, "This test causes later ones to crash")), + ("test_getAllTasks", test_getAllTasks), ("test_getTasksWithCompletion", test_getTasksWithCompletion), /* ⚠️ */ ("test_invalidResumeDataForDownloadTask", /* ⚠️ */ testExpectedToFail(test_invalidResumeDataForDownloadTask, "This test crashes nondeterministically: https://bugs.swift.org/browse/SR-11353")), diff --git a/Tests/Foundation/main.swift b/Tests/Foundation/main.swift index d0ed3b8444..410b7dbca4 100644 --- a/Tests/Foundation/main.swift +++ b/Tests/Foundation/main.swift @@ -95,7 +95,7 @@ var allTestCases = [ testCase(TestURLRequest.allTests), testCase(TestURLResponse.allTests), testCase(TestHTTPURLResponse.allTests), - testCase(TestURLSession.allTests), + testCaseExpectedToFail(TestURLSession.allTests, "URLSession test interdependencies are causing intermittent CI issues."), testCase(TestNSUUID.allTests), testCase(TestUUID.allTests), testCase(TestNSValue.allTests),