From 1fc4f0245136e15a5acd48a99f7ff9383d9a2efd Mon Sep 17 00:00:00 2001 From: Pushkar Kulkarni Date: Fri, 21 Apr 2017 17:43:05 +0530 Subject: [PATCH] Disable URLSession tests (SR-4655) --- TestFoundation/TestNSURLSession.swift | 5 +---- TestFoundation/main.swift | 3 ++- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/TestFoundation/TestNSURLSession.swift b/TestFoundation/TestNSURLSession.swift index 8da9f6f358..ca73f7082a 100644 --- a/TestFoundation/TestNSURLSession.swift +++ b/TestFoundation/TestNSURLSession.swift @@ -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), diff --git a/TestFoundation/main.swift b/TestFoundation/main.swift index c02669d896..4a9a75781b 100644 --- a/TestFoundation/main.swift +++ b/TestFoundation/main.swift @@ -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),