This commit is contained in:
JinmingHu 2020-11-19 09:34:44 +08:00 committed by GitHub
parent b8d9d42e5a
commit 91c6116ead
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -253,13 +253,6 @@ namespace Azure { namespace Storage { namespace Test {
properties.DeleteRetentionPolicy.Enabled = true;
properties.DeleteRetentionPolicy.Days = 7;
try
{
m_blobServiceClient.SetProperties(properties);
}
catch (StorageException&)
{
}
EXPECT_NO_THROW(m_blobServiceClient.SetProperties(properties));
// It takes some time before the new properties comes into effect.