Skip to content

CreateIfNotExists/DeleteIfExists logs exception#9551

Merged
amnguye merged 3 commits intoAzure:masterfrom
amnguye:storage/blobs/update/existsthrowlogexception
Feb 14, 2020
Merged

CreateIfNotExists/DeleteIfExists logs exception#9551
amnguye merged 3 commits intoAzure:masterfrom
amnguye:storage/blobs/update/existsthrowlogexception

Conversation

@amnguye
Copy link
Copy Markdown
Member

@amnguye amnguye commented Jan 21, 2020

Resolves #9275

@seanmcc-msft
Copy link
Copy Markdown
Member

Do you have unit tests for when the blob exists, doesn't exist, and another exception is thrown?

@amnguye
Copy link
Copy Markdown
Member Author

amnguye commented Jan 21, 2020

Do you have unit tests for when the blob exists, doesn't exist, and another exception is thrown?

Just pushed up some more changes to add the tests missing the error/exception tests. The ones that were missing were for BlobBaseClient for DeleteIfExists and ContainerClient for CreateIfNotExists/DeleteIfNotExists. The other tests exists already.

@amnguye amnguye force-pushed the storage/blobs/update/existsthrowlogexception branch 2 times, most recently from cc70afa to 95cd0a8 Compare January 28, 2020 06:35
Comment thread sdk/storage/Azure.Storage.Blobs/src/AppendBlobClient.cs Outdated
@amnguye amnguye force-pushed the storage/blobs/update/existsthrowlogexception branch from 95cd0a8 to b3b99f2 Compare February 6, 2020 01:57
Copy link
Copy Markdown
Member

@tg-msft tg-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@amnguye amnguye force-pushed the storage/blobs/update/existsthrowlogexception branch from b3b99f2 to 65c8b0b Compare February 14, 2020 19:45
@amnguye amnguye merged commit bd41903 into Azure:master Feb 14, 2020
@amnguye amnguye deleted the storage/blobs/update/existsthrowlogexception branch May 29, 2020 23:16
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.

[storage] [blobs] Update CreateIfNotExists/DeleteIfExists to log exception thrown

4 participants