Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

fix: Amend default retry behavior for bucket operations on client - #358

Merged
andrewsg merged 3 commits into
masterfrom
get_bucket_retry_default
Jan 21, 2021
Merged

fix: Amend default retry behavior for bucket operations on client#358
andrewsg merged 3 commits into
masterfrom
get_bucket_retry_default

Conversation

@andrewsg

Copy link
Copy Markdown
Contributor

Fixes: #357

The bug exposed a hole in our testing of the new retry defaults, so this PR also adds some simple tests to verify defaults are correct. It doesn't try to comprehensively validate all defaults throughout the library, but the existence of this bug suggests we might want to audit those to make sure.

@andrewsg
andrewsg requested review from a team and frankynJanuary 7, 2021 20:25
@product-auto-labelproduct-auto-labelBot added the api: storage Issues related to the googleapis/python-storage API. label Jan 7, 2021
@google-clagoogle-claBot added the cla: yes This human has signed the Contributor License Agreement. label Jan 7, 2021
Comment threadgoogle/cloud/storage/client.py
Comment threadtests/unit/test_client.py Outdated
@andrewsg

Copy link
Copy Markdown
ContributorAuthor

@tseaver PTAL

@andrewsg
andrewsg merged commit b91e57d into masterJan 21, 2021
@andrewsg
andrewsg deleted the get_bucket_retry_default branch January 21, 2021 23:41
cojenco pushed a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
…ogleapis#358)
* fix: Amend default retry behavior for bucket operations on client
* Amend default for blob/bucket get and exist methods
* fix tests for new behavior
cojenco pushed a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
…ogleapis#358)
* fix: Amend default retry behavior for bucket operations on client
* Amend default for blob/bucket get and exist methods
* fix tests for new behavior
@release-pleaserelease-pleaseBot mentioned this pull request Jan 12, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: storageIssues related to the googleapis/python-storage API.cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API Gateway timeout

4 participants

@andrewsg@tseaver@frankyn@tritone