Skip to content

Storage: 'tearDownModule' flakes with 409 #7505

@tseaver

Description

@tseaver

From: https://source.cloud.google.com/results/invocations/b09e6e84-ca6e-427f-8014-887b811578bc/targets/cloud-devrel%2Fclient-libraries%2Fgoogle-cloud-python%2Fpresubmit%2Fstorage/log

    def tearDownModule():
        errors = (exceptions.Conflict, exceptions.TooManyRequests)
        retry = RetryErrors(errors, max_tries=9)
>       retry(Config.TEST_BUCKET.delete)(force=True)
...
E Conflict: 409 DELETE https://www.googleapis.com/storage/v1/b/new_1552405494808: The bucket you tried to delete was not empty.

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