Skip to content
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

cleanup(storage): prefer MakeIntegrationTestClient() #14515

Merged

Conversation

coryan
Copy link
Contributor

@coryan coryan commented Jul 20, 2024

Use the common function to initialize the storage::Client object.


This change is Reviewable

Use the common function to initialize the `storage::Client` object.
@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label Jul 20, 2024
Copy link

codecov bot commented Jul 20, 2024

Codecov Report

Attention: Patch coverage is 88.88889% with 5 lines in your changes missing coverage. Please review.

Project coverage is 93.59%. Comparing base (4c40596) to head (1757214).
Report is 1 commits behind head on main.

Files Patch % Lines
...torage/tests/object_basic_crud_integration_test.cc 82.35% 3 Missing ⚠️
...e/tests/object_resumable_write_integration_test.cc 50.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #14515   +/-   ##
=======================================
  Coverage   93.59%   93.59%           
=======================================
  Files        2316     2316           
  Lines      207113   207130   +17     
=======================================
+ Hits       193841   193862   +21     
+ Misses      13272    13268    -4     

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

@coryan coryan marked this pull request as ready for review July 20, 2024 19:35
@coryan coryan requested review from a team as code owners July 20, 2024 19:35
struct ObjectBasicCRUDIntegrationTest
: public ::google::cloud::storage::testing::ObjectIntegrationTest {
public:
static Client MakeNonDefaultClient() {
Copy link
Member

Choose a reason for hiding this comment

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

this isn't obviously the same, but I will bet that you know what you are doing without digging deeper.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ack. Thanks. I reviewed again just to make sure.

@coryan coryan merged commit eb1232d into googleapis:main Jul 20, 2024
63 checks passed
@coryan coryan deleted the test-storage-prefer-MakeIntegrationTestClient branch July 20, 2024 19:52
cuiy0006 pushed a commit to cuiy0006/google-cloud-cpp that referenced this pull request Jul 22, 2024
)

Use the common function to initialize the `storage::Client` object.
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