Skip to content

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

Merged
tritone merged 4 commits into
googleapis:mainfrom
tritone:max-attempts-wrap
Apr 15, 2024
Merged

fix(storage): wrap error when MaxAttempts is hit#9767
tritone merged 4 commits into
googleapis:mainfrom
tritone:max-attempts-wrap

Conversation

@tritone

@tritone tritone commented Apr 15, 2024

Copy link
Copy Markdown
Contributor

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

@BrennaEpp BrennaEpp 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.

Awesome!

Comment thread storage/client_test.go Outdated
Comment thread storage/client_test.go Outdated
Comment thread storage/client_test.go
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.

3 participants