Skip to content

test(storage): test open_object multiple reads#6079

Open
joshuatants wants to merge 1 commit into
googleapis:mainfrom
joshuatants:open_object_grpc_tests
Open

test(storage): test open_object multiple reads#6079
joshuatants wants to merge 1 commit into
googleapis:mainfrom
joshuatants:open_object_grpc_tests

Conversation

@joshuatants

Copy link
Copy Markdown
Contributor

Adds more tests to help #5991

@product-auto-label product-auto-label Bot added the api: storage Issues related to the Cloud Storage API. label Jul 17, 2026

@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 introduces a new transport-level contract test file open_object_grpc.rs to verify the behavior of the open_object gRPC stream under sequential range reads. The review feedback highlights violations of the repository style guide regarding error handling in tests, specifically recommending the replacement of .unwrap() calls with .expect() inside spawned tasks to ensure clearer failure messages.

Comment thread src/storage/tests/open_object_grpc.rs Outdated
Comment thread src/storage/tests/open_object_grpc.rs Outdated
@joshuatants
joshuatants force-pushed the open_object_grpc_tests branch from 5f88bb7 to 29f938a Compare July 17, 2026 04:27
@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.03%. Comparing base (53d123d) to head (29f938a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6079      +/-   ##
==========================================
- Coverage   97.04%   97.03%   -0.01%     
==========================================
  Files         253      253              
  Lines       63682    63682              
==========================================
- Hits        61798    61795       -3     
- Misses       1884     1887       +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.

@joshuatants
joshuatants marked this pull request as ready for review July 17, 2026 05:03
@joshuatants
joshuatants requested review from a team as code owners July 17, 2026 05:03
@coryan

coryan commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

FYI, this will merge into main, was that your intent?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the Cloud Storage API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants