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

fix(storage): wrap error when MaxAttempts is hit #9767

Merged
merged 4 commits into from
Apr 15, 2024

Conversation

tritone
Copy link
Contributor

@tritone tritone commented Apr 15, 2024

Wrap the error when retries are cut off by hitting the configured value for MaxAttempts. This makes it easier to verify that retries occurred.

Also adds emulator tests verifying that wrapping occurs as expected for timeout errors and MaxAttempts.

Updates #9720

Wrap the error when retries are cut off by hitting the configured
value for MaxAttempts. This makes it easier to verify that retries
occurred.

Also adds emulator tests verifying that wrapping occurs as expected
for timeout errors and MaxAttempts.

Updates googleapis#9720
@tritone tritone requested review from a team as code owners April 15, 2024 00:23
@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label Apr 15, 2024
@tritone tritone added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 15, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 15, 2024
Copy link
Contributor

@BrennaEpp BrennaEpp left a comment

Choose a reason for hiding this comment

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

Awesome!

storage/client_test.go Outdated Show resolved Hide resolved
storage/client_test.go Outdated Show resolved Hide resolved
storage/client_test.go Show resolved Hide resolved
@tritone tritone merged commit 9cb262b into googleapis:main Apr 15, 2024
8 checks passed
@tritone tritone deleted the max-attempts-wrap branch April 15, 2024 20:13
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.

None yet

3 participants