-
Notifications
You must be signed in to change notification settings - Fork 85
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
bf(ZENKO-881): Reduce Azure Test Flakiness #235
bf(ZENKO-881): Reduce Azure Test Flakiness #235
Conversation
@@ -67,6 +68,7 @@ def delete_blob(self, name): | |||
def cleanup_azure_bucket(bucket, delete_bucket=True): | |||
blobs = list(bucket.objects.all()) | |||
for blob in blobs: | |||
bucket.delete_blob(blob.name) | |||
if blob.name.startswith(conf.OBJ_PREFIX): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this account for the bucket_match false addition?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I.e. is the source bucket name prepended to the key name on the destination?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At the moment none of the python e2e tests run with bucket_match=false, and I think at this point other changes would have to be made to support it
It may be worthwhile also to add a couple retries to the Azure tests since we seem to be getting |
Added the additions proposed by @bennettbuchanan |
add a prefix checking to cleanup_azure_bucket, similar to cleanup_bucket
d5a4dcb
to
82b1600
Compare
add a prefix checking to cleanup_azure_bucket, similar to cleanup_bucket