diff --git a/sdk/storage/Azure.Storage.Files.Shares/tests/ShareClientTests.cs b/sdk/storage/Azure.Storage.Files.Shares/tests/ShareClientTests.cs index b8fb4115061a..9cff3fe37bdd 100644 --- a/sdk/storage/Azure.Storage.Files.Shares/tests/ShareClientTests.cs +++ b/sdk/storage/Azure.Storage.Files.Shares/tests/ShareClientTests.cs @@ -476,6 +476,7 @@ await TestHelper.AssertExpectedExceptionAsync( } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task DeleteIfExistsAsync_Lease() { @@ -500,6 +501,7 @@ public async Task DeleteIfExistsAsync_Lease() } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task DeleteIfExistsAsync_LeaseFailed() { @@ -607,6 +609,7 @@ await TestHelper.AssertExpectedExceptionAsync( } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task GetPropertiesAsync_Lease() { @@ -634,6 +637,7 @@ public async Task GetPropertiesAsync_Lease() } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task GetPropertiesAsync_LeaseFailed() { @@ -685,6 +689,7 @@ await TestHelper.AssertExpectedExceptionAsync( } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task SetMetadataAsync_Lease() { @@ -716,6 +721,7 @@ await shareClient.SetMetadataAsync( } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task SetMetadataAsync_LeaseFailed() { @@ -776,6 +782,7 @@ await TestHelper.AssertExpectedExceptionAsync( } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task GetAccessPolicyAsync_Lease() { @@ -803,6 +810,7 @@ public async Task GetAccessPolicyAsync_Lease() } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task GetAccessPolicyAsync_LeaseFailed() { @@ -838,6 +846,7 @@ public async Task SetAccessPolicyAsync() } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task SetAccessPolicyAsync_Lease() { @@ -870,6 +879,7 @@ await shareClient.SetAccessPolicyAsync( } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task SetAccessPolicyAsync_LeaseFailed() { @@ -1096,6 +1106,7 @@ await TestHelper.AssertExpectedExceptionAsync( } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task GetStatisticsAsync_Lease() { @@ -1123,6 +1134,7 @@ public async Task GetStatisticsAsync_Lease() } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task GetStatisticsAsync_LeaseFailed() { @@ -1241,6 +1253,7 @@ await TestHelper.AssertExpectedExceptionAsync( } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task SetQuotaAsync_Lease() { @@ -1270,6 +1283,7 @@ await shareClient.SetQuotaAsync( } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task SetQuotaAsync_LeaseFailed() { @@ -1307,6 +1321,7 @@ public async Task DeleteAsync() } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task DeleteAsync_IncludeLeasedSnapshots() { @@ -1404,6 +1419,7 @@ await TestHelper.AssertExpectedExceptionAsync( } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task DeleteAsync_Lease() { @@ -1428,6 +1444,7 @@ public async Task DeleteAsync_Lease() } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task DeleteAsync_LeaseFailed() { @@ -1530,6 +1547,7 @@ public async Task GetDirectoryClient_SpecialCharacters(string directoryName) } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task AcquireLeaseAsync() { @@ -1559,6 +1577,7 @@ public async Task AcquireLeaseAsync() } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task AcquireLeaseAsync_ExtendedExceptionMessage() { @@ -1579,6 +1598,7 @@ await TestHelper.AssertExpectedExceptionAsync( } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task AcquireLeaseAsync_Snapshot() { @@ -1604,6 +1624,7 @@ public async Task AcquireLeaseAsync_Snapshot() } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task AcquireLeaseAsync_Error() { @@ -1620,6 +1641,7 @@ await TestHelper.AssertExpectedExceptionAsync( } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task AcquireLeaseAsync_SnapshotError() { @@ -1637,6 +1659,7 @@ await TestHelper.AssertExpectedExceptionAsync( } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task ReleaseLeaseAsync() { @@ -1657,6 +1680,7 @@ public async Task ReleaseLeaseAsync() } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task ReleaseLeaseAsync_Error() { @@ -1673,6 +1697,7 @@ await TestHelper.AssertExpectedExceptionAsync( } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task ReleaseLeaseAsync_Snapshot() { @@ -1691,6 +1716,7 @@ public async Task ReleaseLeaseAsync_Snapshot() } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task ReleaseLeaseAsync_SnapshotError() { @@ -1708,6 +1734,7 @@ await TestHelper.AssertExpectedExceptionAsync( } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task ChangeLeaseAsync() { @@ -1727,6 +1754,7 @@ public async Task ChangeLeaseAsync() } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task ChangeLeaseAsync_Error() { @@ -1744,6 +1772,7 @@ await TestHelper.AssertExpectedExceptionAsync( } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task ChangeLeaseAsync_Snapshot() { @@ -1767,6 +1796,7 @@ public async Task ChangeLeaseAsync_Snapshot() } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task ChangeLeaseAsync_SnapshotError() { @@ -1784,6 +1814,7 @@ await TestHelper.AssertExpectedExceptionAsync( } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task BreakLeaseAsync() { @@ -1804,6 +1835,7 @@ public async Task BreakLeaseAsync() } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task BreakLeaseAsync_Error() { @@ -1821,6 +1853,7 @@ await TestHelper.AssertExpectedExceptionAsync( } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task BreakLeaseAsync_Snapshot() { @@ -1839,6 +1872,7 @@ public async Task BreakLeaseAsync_Snapshot() } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task BreakLeaseAsync_SnapshotError() { @@ -1856,6 +1890,7 @@ await TestHelper.AssertExpectedExceptionAsync( } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task RenewLeaseAsync() { @@ -1883,6 +1918,7 @@ public async Task RenewLeaseAsync() } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task RenewLeaseAsync_Error() { @@ -1900,6 +1936,7 @@ await TestHelper.AssertExpectedExceptionAsync( } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task RenewLeaseAsync_Snapshot() { @@ -1921,6 +1958,7 @@ public async Task RenewLeaseAsync_Snapshot() } [Test] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/15505")] [ServiceVersion(Min = ShareClientOptions.ServiceVersion.V2020_02_10)] public async Task RenewLeaseAsync_SnapshotError() {