From df0a67e2b45009428968613e263011d009ba740c Mon Sep 17 00:00:00 2001 From: Econa77 Date: Mon, 17 Oct 2022 01:04:59 +0900 Subject: [PATCH] Extend timeouts for tests involving actual network request --- .../SessionAdapterType/URLSessionAdapterSubclassTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/APIKitTests/SessionAdapterType/URLSessionAdapterSubclassTests.swift b/Tests/APIKitTests/SessionAdapterType/URLSessionAdapterSubclassTests.swift index 2afa3ea..938a72d 100644 --- a/Tests/APIKitTests/SessionAdapterType/URLSessionAdapterSubclassTests.swift +++ b/Tests/APIKitTests/SessionAdapterType/URLSessionAdapterSubclassTests.swift @@ -68,7 +68,7 @@ class URLSessionAdapterSubclassTests: XCTestCase { expectation.fulfill() }) - waitForExpectations(timeout: 10.0, handler: nil) + waitForExpectations(timeout: 30.0, handler: nil) XCTAssertEqual(adapter.functionCallFlags["urlSession(_:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:)"], true) } }