You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(gax-internal): Add tracing test for connection error (#3582)
This PR adds an integration test to verify OpenTelemetry span emission
when an HTTP client connection error occurs.
Specifically, this test ensures that:
- A single span named `http_request` is emitted.
- The `error.type` attribute is correctly set to
`CLIENT_CONNECTION_ERROR`.
- The `http.response.status_code` attribute is not present, as no
response was received.
This test case helps ensure that network-level connection failures are
properly instrumented.
0 commit comments