Skip to content

Disable URLSession tests (SR-4655) #959

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 24, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions TestFoundation/TestNSURLSession.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ class TestURLSession : XCTestCase {
("test_downloadTaskWithURL", test_downloadTaskWithURL),
("test_downloadTaskWithURLRequest", test_downloadTaskWithURLRequest),
("test_downloadTaskWithRequestAndHandler", test_downloadTaskWithRequestAndHandler),

// Disabled because of https://bugs.swift.org/browse/SR-4647
// ("test_downloadTaskWithURLAndHandler", test_downloadTaskWithURLAndHandler),

("test_downloadTaskWithURLAndHandler", test_downloadTaskWithURLAndHandler),
("test_finishTaskAndInvalidate", test_finishTasksAndInvalidate),
("test_taskError", test_taskError),
("test_taskCopy", test_taskCopy),
Expand Down
3 changes: 2 additions & 1 deletion TestFoundation/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ XCTMain([
testCase(TestURLRequest.allTests),
testCase(TestNSURLResponse.allTests),
testCase(TestNSHTTPURLResponse.allTests),
testCase(TestURLSession.allTests),
//Disabling because of https://bugs.swift.org/browse/SR-4655 and https://bugs.swift.org/browse/SR-4647
// testCase(TestURLSession.allTests),
testCase(TestNSNull.allTests),
testCase(TestNSUUID.allTests),
testCase(TestNSValue.allTests),
Expand Down