-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
2.x.x - Add AsyncHTTPClient testing setup #317
Conversation
Pull request benchmark comparison [ubuntu-latest] with '2.x.x' run at 2023-12-21T13:51:16+00:00 |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## 2.x.x #317 +/- ##
==========================================
- Coverage 84.48% 83.26% -1.23%
==========================================
Files 82 84 +2
Lines 4532 4703 +171
==========================================
+ Hits 3829 3916 +87
- Misses 703 787 +84 ☔ View full report in Codecov by Sentry. |
@@ -76,7 +43,7 @@ final class HBXCTLive<App: HBApplicationProtocol>: HBXCTApplication { | |||
} | |||
|
|||
init(app: App) { | |||
self.timeout = .seconds(15) | |||
self.timeout = .seconds(20) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any particular reason for this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had a test that had an AWS request in it which was timing out. I never got the AWS timeout because the client timed out. I should probably make this configurable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add Issue #318
Also merge HummingbirdCoreXCT with HummingbirdXCT
Some testing requires a more fully featured HTTP client. This PR adds a testing framework that uses AsyncHTTPClient
This PR also merges HummingbirdCoreXCT into HummingbirdXCT
This PR includes #315 so it is probably best to review that first.