@@ -1794,15 +1794,15 @@ class TestURLSession: LoopbackServerTest {
1794
1794
( " test_httpRedirectionChainInheritsTimeoutInterval " , test_httpRedirectionChainInheritsTimeoutInterval) ,
1795
1795
( " test_httpRedirectionExceededMaxRedirects " , test_httpRedirectionExceededMaxRedirects) ,
1796
1796
( " test_httpNotFound " , test_httpNotFound) ,
1797
- ( " test_http0_9SimpleResponses " , test_http0_9SimpleResponses) ,
1797
+ /* ⚠️ */ ( " test_http0_9SimpleResponses " , testExpectedToFail ( test_http0_9SimpleResponses, " Breaks on Ubunut20.04 " ) ) ,
1798
1798
( " test_outOfRangeButCorrectlyFormattedHTTPCode " , test_outOfRangeButCorrectlyFormattedHTTPCode) ,
1799
1799
( " test_missingContentLengthButStillABody " , test_missingContentLengthButStillABody) ,
1800
1800
( " test_illegalHTTPServerResponses " , test_illegalHTTPServerResponses) ,
1801
1801
( " test_dataTaskWithSharedDelegate " , test_dataTaskWithSharedDelegate) ,
1802
1802
( " test_simpleUploadWithDelegate " , test_simpleUploadWithDelegate) ,
1803
1803
( " test_requestWithEmptyBody " , test_requestWithEmptyBody) ,
1804
1804
( " test_requestWithNonEmptyBody " , test_requestWithNonEmptyBody) ,
1805
- ( " test_concurrentRequests " , test_concurrentRequests) ,
1805
+ /* ⚠️ */ ( " test_concurrentRequests " , testExpectedToFail ( test_concurrentRequests, " Fails about 4% of the time " ) ) ,
1806
1806
( " test_disableCookiesStorage " , test_disableCookiesStorage) ,
1807
1807
( " test_cookiesStorage " , test_cookiesStorage) ,
1808
1808
( " test_cookieStorageForEphemeralConfiguration " , test_cookieStorageForEphemeralConfiguration) ,
@@ -1816,15 +1816,15 @@ class TestURLSession: LoopbackServerTest {
1816
1816
( " test_checkErrorTypeAfterInvalidateAndCancel " , test_checkErrorTypeAfterInvalidateAndCancel) ,
1817
1817
( " test_taskCountAfterInvalidateAndCancel " , test_taskCountAfterInvalidateAndCancel) ,
1818
1818
( " test_sessionDelegateAfterInvalidateAndCancel " , test_sessionDelegateAfterInvalidateAndCancel) ,
1819
- ( " test_getAllTasks " , test_getAllTasks) ,
1819
+ /* ⚠️ */ ( " test_getAllTasks " , testExpectedToFail ( test_getAllTasks, " This test causes later ones to crash " ) ) ,
1820
1820
( " test_getTasksWithCompletion " , test_getTasksWithCompletion) ,
1821
1821
/* ⚠️ */ ( " test_invalidResumeDataForDownloadTask " ,
1822
1822
/* ⚠️ */ testExpectedToFail ( test_invalidResumeDataForDownloadTask, " This test crashes nondeterministically: https://bugs.swift.org/browse/SR-11353 " ) ) ,
1823
1823
/* ⚠️ */ ( " test_simpleUploadWithDelegateProvidingInputStream " ,
1824
1824
/* ⚠️ */ testExpectedToFail ( test_simpleUploadWithDelegateProvidingInputStream, " This test times out frequently: https://bugs.swift.org/browse/SR-11343 " ) ) ,
1825
1825
/* ⚠️ */ ( " test_noDoubleCallbackWhenCancellingAndProtocolFailsFast " ,
1826
1826
/* ⚠️ */ testExpectedToFail ( test_noDoubleCallbackWhenCancellingAndProtocolFailsFast, " This test crashes nondeterministically: https://bugs.swift.org/browse/SR-11310 " ) ) ,
1827
- ( " test_cancelledTasksCannotBeResumed " , test_cancelledTasksCannotBeResumed) ,
1827
+ /* ⚠️ */ ( " test_cancelledTasksCannotBeResumed " , testExpectedToFail ( test_cancelledTasksCannotBeResumed, " Breaks on Ubuntu 18.04 " ) ) ,
1828
1828
]
1829
1829
}
1830
1830
0 commit comments