Skip to content

Commit 1fc4f02

Browse files
author
Pushkar Kulkarni
committed
Disable URLSession tests (SR-4655)
1 parent 8e8dd9b commit 1fc4f02

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

TestFoundation/TestNSURLSession.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ class TestURLSession : XCTestCase {
2828
("test_downloadTaskWithURL", test_downloadTaskWithURL),
2929
("test_downloadTaskWithURLRequest", test_downloadTaskWithURLRequest),
3030
("test_downloadTaskWithRequestAndHandler", test_downloadTaskWithRequestAndHandler),
31-
32-
// Disabled because of https://bugs.swift.org/browse/SR-4647
33-
// ("test_downloadTaskWithURLAndHandler", test_downloadTaskWithURLAndHandler),
34-
31+
("test_downloadTaskWithURLAndHandler", test_downloadTaskWithURLAndHandler),
3532
("test_finishTaskAndInvalidate", test_finishTasksAndInvalidate),
3633
("test_taskError", test_taskError),
3734
("test_taskCopy", test_taskCopy),

TestFoundation/main.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ XCTMain([
7878
testCase(TestURLRequest.allTests),
7979
testCase(TestNSURLResponse.allTests),
8080
testCase(TestNSHTTPURLResponse.allTests),
81-
testCase(TestURLSession.allTests),
81+
//Disabling because of https://bugs.swift.org/browse/SR-4655 and https://bugs.swift.org/browse/SR-4647
82+
// testCase(TestURLSession.allTests),
8283
testCase(TestNSNull.allTests),
8384
testCase(TestNSUUID.allTests),
8485
testCase(TestNSValue.allTests),

0 commit comments

Comments
 (0)