Skip to content

Storage: 'test_notification_minimal' flakes with 429. #7384

Description

@tseaver

From: https://source.cloud.google.com/results/invocations/6c7f96f1-fba9-423a-bbba-47b84a314932/targets/cloud-devrel%2Fclient-libraries%2Fgoogle-cloud-python%2Fpresubmit%2Fstorage/log

____________TestStorageNotificationCRUD.test_notification_minimal_____________self=<tests.system.TestStorageNotificationCRUDtestMethod=test_notification_minimal>deftest_notification_minimal(self):
new_bucket_name="notification-minimal"+unique_resource_id("-")
>bucket=retry_429(Config.CLIENT.create_bucket)(new_bucket_name)
...
response=self._make_request(
method=method,
url=url,
data=data,
content_type=content_type,
headers=headers,
target_object=_target_object,
)
ifnot200<=response.status_code<300:
>raiseexceptions.from_http_response(response)
Egoogle.api_core.exceptions.TooManyRequests: 429POSThttps://www.googleapis.com/storage/v1/b?project=precise-truck-742: Theprojectexceededtheratelimitforcreatinganddeletingbuckets.
../core/google/cloud/_http.py:319: TooManyRequests

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the Cloud Storage API.flakytestingtype: processA process-related concern. May include testing, release, or the like.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions