Skip to content

test(gax): add timeout integration tests for GrpcRustClient - #6480

Draft
joshuatants wants to merge 1 commit into
googleapis:grpc_rustfrom
joshuatants:grpc_rust_unary
Draft

test(gax): add timeout integration tests for GrpcRustClient#6480
joshuatants wants to merge 1 commit into
googleapis:grpc_rustfrom
joshuatants:grpc_rust_unary

Conversation

@joshuatants

Copy link
Copy Markdown
Contributor

For #5991.

Mirrors tests from src/gax-internal/tests/grpc_timeout.rs:

  • no_timeout
  • timeout_does_not_expire
  • timeout_expires
  • client_config_timeout (adapted from test_effective_timeout)

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request adds a new integration test file grpc_rust_timeout.rs under src/gax-internal/tests/ to verify gRPC timeout behaviors using the GrpcRustClient. The tests cover scenarios including requests with no timeout, timeouts that do not expire, timeouts that do expire, and timeouts configured via the client configuration. I have no feedback to provide.

@codecov

codecov Bot commented Aug 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.41%. Comparing base (e3f0f8e) to head (345a0bb).

Additional details and impacted files
@@              Coverage Diff              @@
##           grpc_rust    #6480      +/-   ##
=============================================
- Coverage      96.41%   96.41%   -0.01%     
=============================================
  Files            306      306              
  Lines          86313    86313              
=============================================
- Hits           83218    83217       -1     
- Misses          3095     3096       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@joshuatants
joshuatants force-pushed the grpc_rust branch 2 times, most recently from cec6172 to e3f0f8e Compare August 21, 2026 08:22
For googleapis#5991.

Mirrors tests from `src/gax-internal/tests/grpc_timeout.rs`:
- `no_timeout`
- `timeout_does_not_expire`
- `timeout_expires`
- `client_config_timeout` (adapted from `test_effective_timeout`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant