-
Notifications
You must be signed in to change notification settings - Fork 92
test(gax-internal): Add tracing tests for http_timeout #3549
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3549 +/- ##
==========================================
+ Coverage 95.70% 95.82% +0.11%
==========================================
Files 125 125
Lines 5029 5029
==========================================
+ Hits 4813 4819 +6
+ Misses 216 210 -6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
59a52a3 to
5c48460
Compare
5c48460 to
ecfa4f4
Compare
| ErrorType::ClientResponseDecodeError => "CLIENT_RESPONSE_DECODE_ERROR".to_string(), | ||
| ErrorType::ClientRedirectError => "CLIENT_REDIRECT_ERROR".to_string(), | ||
| ErrorType::Internal => "INTERNAL".to_string(), | ||
| ErrorType::ClientTimeout => error_type_values::CLIENT_TIMEOUT.to_string(), |
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.
For a future PR: use error_type_values::* could make this more readable.
| #[test_case(ErrorType::ClientResponseDecodeError, "CLIENT_RESPONSE_DECODE_ERROR", Code::Internal; "Client Response Decode Error")] | ||
| #[test_case(ErrorType::ClientRedirectError, "CLIENT_REDIRECT_ERROR", Code::Aborted; "Client Redirect Error")] | ||
| #[test_case(ErrorType::Internal, "INTERNAL", Code::Internal; "Internal")] | ||
| #[test_case(ErrorType::ClientTimeout, error_type_values::CLIENT_TIMEOUT, Code::DeadlineExceeded; "Client Timeout")] |
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.
ditto.
No description provided.