Skip to content
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

Merged

Conversation

tmacro
Copy link
Contributor

@tmacro tmacro commented Jul 30, 2018

add a prefix checking to cleanup_azure_bucket, similar to cleanup_bucket

@@ -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):

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?

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?

Copy link
Contributor Author

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

@bennettbuchanan
Copy link

It may be worthwhile also to add a couple retries to the Azure tests since we seem to be getting ESOCKETTIMEDOUT. Also, feel free to add a .skip to the backbeat object monitor tests as there is known flakiness that should be addressed by #221.

@tmacro
Copy link
Contributor Author

tmacro commented Jul 30, 2018

Added the additions proposed by @bennettbuchanan

add a prefix checking to cleanup_azure_bucket, similar to cleanup_bucket
@tmacro tmacro force-pushed the bugfix/ZENKO-881_Reduce_Azure_E2E_Flakiness branch from d5a4dcb to 82b1600 Compare July 31, 2018 19:11
@ssalaues ssalaues merged commit c67b84e into development/0.9 Jul 31, 2018
@ssalaues ssalaues deleted the bugfix/ZENKO-881_Reduce_Azure_E2E_Flakiness branch July 31, 2018 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants