Skip to content

Add end-to-end tests for async/await #528

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 6 commits into from
Dec 16, 2021

Conversation

dnadoba
Copy link
Collaborator

@dnadoba dnadoba commented Dec 15, 2021

No description provided.

@dnadoba dnadoba force-pushed the dn-async-await-tests branch from ae3d46a to e3e9e93 Compare December 15, 2021 15:57
@dnadoba dnadoba added the semver/none No version bump required. label Dec 15, 2021
@dnadoba dnadoba force-pushed the dn-async-await-tests branch 2 times, most recently from ccf91de to aee5202 Compare December 15, 2021 17:58
save progress

save progress 2
@dnadoba dnadoba force-pushed the dn-async-await-tests branch from aee5202 to bc7e2d0 Compare December 15, 2021 18:26
@dnadoba dnadoba marked this pull request as ready for review December 16, 2021 07:39
@dnadoba dnadoba requested a review from fabianfett December 16, 2021 07:39
return XCTFail("wrong error \(error)")
}
XCTAssertTrue(
[HTTPClientError.connectTimeout, .tlsHandshakeTimeout].contains(httpError),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think tlsHandshakeTimeout is a possible error here. We will never have an actual connection here, so tlsHandshake will never be started.

Copy link
Member

@fabianfett fabianfett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small nit.

@dnadoba dnadoba merged commit 239d6d2 into swift-server:main Dec 16, 2021
@dnadoba dnadoba deleted the dn-async-await-tests branch December 16, 2021 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants