Skip to content

Commit 6e2f76c

Browse files
authored
Bump test timeout (#7247)
This test sporadically fails on CI because of the timeouts, so I am going to increase them. rdar://108795267
1 parent d14ff89 commit 6e2f76c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/BasicsTests/URLSessionHTTPClientTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -466,13 +466,13 @@ final class URLSessionHTTPClientTest: XCTestCase {
466466
MockURLProtocol.sendResponse(statusCode: 200, headers: ["Content-Length": "1024"], for: request)
467467
didStartLoadingExpectation.fulfill()
468468
}
469-
wait(for: [didStartLoadingExpectation], timeout: 1.0)
469+
wait(for: [didStartLoadingExpectation], timeout: 3.0)
470470

471471
let urlRequest = URLRequest(request)
472472
MockURLProtocol.sendData(Data(count: 512), for: urlRequest)
473-
wait(for: [progress50Expectation], timeout: 1.0)
473+
wait(for: [progress50Expectation], timeout: 3.0)
474474
MockURLProtocol.sendError(clientError, for: urlRequest)
475-
wait(for: [completionExpectation], timeout: 1.0)
475+
wait(for: [completionExpectation], timeout: 3.0)
476476
}
477477
}
478478

0 commit comments

Comments
 (0)