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)

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`)

@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.39%. Comparing base (1506fc1) to head (717d902).

Additional details and impacted files
@@            Coverage Diff             @@
##           grpc_rust    #6480   +/-   ##
==========================================
  Coverage      96.39%   96.39%           
==========================================
  Files            302      302           
  Lines          85747    85747           
==========================================
+ Hits           82656    82659    +3     
+ Misses          3091     3088    -3     

☔ 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.

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