Skip to content

Commit eec4b26

Browse files
authored
Merge pull request #2995 from kavon/disable-flaky-test
mark two tests as flaky
2 parents 1168239 + fb32aea commit eec4b26

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Tests/Foundation/Tests/TestURLSession.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1836,8 +1836,8 @@ class TestURLSession: LoopbackServerTest {
18361836
("test_httpRedirectionWithDefaultPort", test_httpRedirectionWithDefaultPort),
18371837
("test_httpRedirectionWithEncodedQuery", test_httpRedirectionWithEncodedQuery),
18381838
("test_httpRedirectionTimeout", test_httpRedirectionTimeout),
1839-
("test_httpRedirectionChainInheritsTimeoutInterval", test_httpRedirectionChainInheritsTimeoutInterval),
1840-
("test_httpRedirectionExceededMaxRedirects", test_httpRedirectionExceededMaxRedirects),
1839+
/* ⚠️ */ ("test_httpRedirectionChainInheritsTimeoutInterval", testExpectedToFail(test_httpRedirectionChainInheritsTimeoutInterval, "Flaky on Linux CI: https://bugs.swift.org/browse/SR-14433")),
1840+
/* ⚠️ */ ("test_httpRedirectionExceededMaxRedirects", testExpectedToFail(test_httpRedirectionExceededMaxRedirects, "Flaky on Linux CI: https://bugs.swift.org/browse/SR-14433")),
18411841
("test_willPerformRedirect", test_willPerformRedirect),
18421842
("test_httpNotFound", test_httpNotFound),
18431843
/* ⚠️ */ ("test_http0_9SimpleResponses", testExpectedToFail(test_http0_9SimpleResponses, "Breaks on Ubunut20.04")),
@@ -2409,4 +2409,3 @@ extension HTTPUploadDelegate: URLSessionDataDelegate {
24092409
callbacks.append(#function)
24102410
}
24112411
}
2412-

0 commit comments

Comments
 (0)