From 1041c993391cb4b2dfee3d880514f2b0d95e1c41 Mon Sep 17 00:00:00 2001 From: Kamil Sobol <61715331+kasobol-msft@users.noreply.github.com> Date: Thu, 10 Dec 2020 19:02:35 -0800 Subject: [PATCH] [Storage] Parallelize live tests. (#17454) Fixes: https://github.com/Azure/azure-sdk-for-net/issues/6905 In this PR: - introduce LiveParallizable attribute. - changed scope of DiagosticScopeInterceptor as it's not thread safe, see: - https://dev.azure.com/azure-sdk/internal/_build/results?buildId=649697&view=results - https://dev.azure.com/azure-sdk/internal/_build/results?buildId=649767&view=results --- .../src/ClientDiagnosticListener.cs | 8 +- .../src/LiveParallelizableAttribute.cs | 26 ++++ .../tests/BlockBlobClientTests.cs | 2 +- .../SyncUploadFromUriAsync_Lease.json | 140 +++++++++--------- .../SyncUploadFromUriAsync_LeaseAsync.json | 140 +++++++++--------- .../tests/Shared/AssemblyInfo.cs | 5 +- .../tests/DirectoryClientTests.cs | 4 + .../tests/ServiceClientTests.cs | 1 + 8 files changed, 177 insertions(+), 149 deletions(-) create mode 100644 sdk/core/Azure.Core.TestFramework/src/LiveParallelizableAttribute.cs diff --git a/sdk/core/Azure.Core.TestFramework/src/ClientDiagnosticListener.cs b/sdk/core/Azure.Core.TestFramework/src/ClientDiagnosticListener.cs index b3b2af8be213b..c3778c278dff4 100644 --- a/sdk/core/Azure.Core.TestFramework/src/ClientDiagnosticListener.cs +++ b/sdk/core/Azure.Core.TestFramework/src/ClientDiagnosticListener.cs @@ -104,12 +104,14 @@ public void OnNext(KeyValuePair value) public void OnNext(DiagnosticListener value) { - List subscriptions = _subscriptions; - if (_sourceNameFilter(value.Name) && subscriptions != null) + if (_sourceNameFilter(value.Name) && _subscriptions != null) { lock (Scopes) { - subscriptions.Add(value.Subscribe(this)); + if (_subscriptions != null) + { + _subscriptions.Add(value.Subscribe(this)); + } } } } diff --git a/sdk/core/Azure.Core.TestFramework/src/LiveParallelizableAttribute.cs b/sdk/core/Azure.Core.TestFramework/src/LiveParallelizableAttribute.cs new file mode 100644 index 0000000000000..94589d5ac01e9 --- /dev/null +++ b/sdk/core/Azure.Core.TestFramework/src/LiveParallelizableAttribute.cs @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using NUnit.Framework; + +namespace Azure.Core.TestFramework +{ + /// + /// Attribute on test assemblies, classes, or methods that defines parallelization behavior when tests are run in mode. + /// In other modes it will enforce no parallelization. + /// + [AttributeUsage( AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method, AllowMultiple=false, Inherited=true )] + public class LiveParallelizableAttribute : ParallelizableAttribute + { + public LiveParallelizableAttribute(ParallelScope scope) : base(ApplyModeToParallelScope(scope)) + { + } + + private static ParallelScope ApplyModeToParallelScope(ParallelScope scope) + { + RecordedTestMode mode = RecordedTestUtilities.GetModeFromEnvironment(); + return mode == RecordedTestMode.Live ? scope : ParallelScope.None; + } + } +} diff --git a/sdk/storage/Azure.Storage.Blobs/tests/BlockBlobClientTests.cs b/sdk/storage/Azure.Storage.Blobs/tests/BlockBlobClientTests.cs index 54ec2af9a411d..93715b99d1130 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/BlockBlobClientTests.cs +++ b/sdk/storage/Azure.Storage.Blobs/tests/BlockBlobClientTests.cs @@ -3126,7 +3126,7 @@ public async Task SyncUploadFromUriAsync_Lease() // Take out lease on destination blob string leaseId = Recording.Random.NewGuid().ToString(); - TimeSpan duration = TimeSpan.FromSeconds(15); + TimeSpan duration = TimeSpan.FromSeconds(60); await InstrumentClient(destBlob.GetBlobLeaseClient(leaseId)).AcquireAsync(duration); // Upload data to source blob diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlockBlobClientTests/SyncUploadFromUriAsync_Lease.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlockBlobClientTests/SyncUploadFromUriAsync_Lease.json index e26b1c87ae470..ab58b7e582194 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlockBlobClientTests/SyncUploadFromUriAsync_Lease.json +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlockBlobClientTests/SyncUploadFromUriAsync_Lease.json @@ -1,18 +1,18 @@ { "Entries": [ { - "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-d18dec50-ee08-8ee5-fa69-670969e310ee?restype=container", + "RequestUri": "http://kasobolcanarytest2.blob.core.windows.net/test-container-d18dec50-ee08-8ee5-fa69-670969e310ee?restype=container", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "traceparent": "00-848bfe02d7d6494ea5e7f07ad5f78c2d-496305970acd5e49-00", + "traceparent": "00-150d5e3a3849c44db9c69c4f3b4b3cb4-0acd05f5d5ec934a-00", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.7.0-alpha.20201113.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Storage.Blobs/12.8.0-alpha.20201210.1", + "(.NET Framework 4.8.4250.0; Microsoft Windows 10.0.19042 )" ], "x-ms-blob-public-access": "container", "x-ms-client-request-id": "1edaff65-a7fa-7392-c8a1-d4db9ec05256", - "x-ms-date": "Fri, 13 Nov 2020 16:57:35 GMT", + "x-ms-date": "Thu, 10 Dec 2020 21:45:08 GMT", "x-ms-return-client-request-id": "true", "x-ms-version": "2020-04-08" }, @@ -20,33 +20,33 @@ "StatusCode": 201, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 13 Nov 2020 16:57:36 GMT", - "ETag": "\u00220x8D887F53913FAA4\u0022", - "Last-Modified": "Fri, 13 Nov 2020 16:57:36 GMT", + "Date": "Thu, 10 Dec 2020 21:45:07 GMT", + "ETag": "\u00220x8D89D54DD04B4C3\u0022", + "Last-Modified": "Thu, 10 Dec 2020 21:45:08 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-client-request-id": "1edaff65-a7fa-7392-c8a1-d4db9ec05256", - "x-ms-request-id": "402b1c1a-601e-000d-2ade-b91216000000", + "x-ms-request-id": "2b445ed0-f01e-00d9-053d-cf8ea4000000", "x-ms-version": "2020-04-08" }, "ResponseBody": [] }, { - "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-d18dec50-ee08-8ee5-fa69-670969e310ee/test-blob-6aa33f15-f208-11f3-f183-814a251c0ce0", + "RequestUri": "http://kasobolcanarytest2.blob.core.windows.net/test-container-d18dec50-ee08-8ee5-fa69-670969e310ee/test-blob-6aa33f15-f208-11f3-f183-814a251c0ce0", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "0", - "traceparent": "00-0d534c531866f44691bd1f7f6af5a727-d519102e1f277f4a-00", + "traceparent": "00-bd8722a28fef3e4c80c2c790487c8534-44c7bbb81856a24d-00", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.7.0-alpha.20201113.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Storage.Blobs/12.8.0-alpha.20201210.1", + "(.NET Framework 4.8.4250.0; Microsoft Windows 10.0.19042 )" ], "x-ms-blob-type": "BlockBlob", "x-ms-client-request-id": "5ec67a49-e71c-624e-04e3-582292e330d7", - "x-ms-date": "Fri, 13 Nov 2020 16:57:36 GMT", + "x-ms-date": "Thu, 10 Dec 2020 21:45:08 GMT", "x-ms-return-client-request-id": "true", "x-ms-version": "2020-04-08" }, @@ -55,36 +55,36 @@ "ResponseHeaders": { "Content-Length": "0", "Content-MD5": "1B2M2Y8AsgTpgAmY7PhCfg==", - "Date": "Fri, 13 Nov 2020 16:57:36 GMT", - "ETag": "\u00220x8D887F5391B992E\u0022", - "Last-Modified": "Fri, 13 Nov 2020 16:57:36 GMT", + "Date": "Thu, 10 Dec 2020 21:45:08 GMT", + "ETag": "\u00220x8D89D54DD3C19CE\u0022", + "Last-Modified": "Thu, 10 Dec 2020 21:45:08 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-client-request-id": "5ec67a49-e71c-624e-04e3-582292e330d7", "x-ms-content-crc64": "AAAAAAAAAAA=", - "x-ms-request-id": "402b1c3f-601e-000d-48de-b91216000000", + "x-ms-request-id": "2b445edb-f01e-00d9-0d3d-cf8ea4000000", "x-ms-request-server-encrypted": "true", "x-ms-version": "2020-04-08", - "x-ms-version-id": "2020-11-13T16:57:36.7772462Z" + "x-ms-version-id": "2020-12-10T21:45:08.7442382Z" }, "ResponseBody": [] }, { - "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-d18dec50-ee08-8ee5-fa69-670969e310ee/test-blob-6aa33f15-f208-11f3-f183-814a251c0ce0?comp=lease", + "RequestUri": "http://kasobolcanarytest2.blob.core.windows.net/test-container-d18dec50-ee08-8ee5-fa69-670969e310ee/test-blob-6aa33f15-f208-11f3-f183-814a251c0ce0?comp=lease", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "traceparent": "00-a79ed87e7b88564299af411bfe2e33a1-0a109b4f8dea3040-00", + "traceparent": "00-d28d3b7e03d4244faadf17f587bf7d52-e10592c41367e648-00", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.7.0-alpha.20201113.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Storage.Blobs/12.8.0-alpha.20201210.1", + "(.NET Framework 4.8.4250.0; Microsoft Windows 10.0.19042 )" ], "x-ms-client-request-id": "26405154-94a3-2fe6-cdbb-a1ca4eca9a28", - "x-ms-date": "Fri, 13 Nov 2020 16:57:36 GMT", + "x-ms-date": "Thu, 10 Dec 2020 21:45:08 GMT", "x-ms-lease-action": "acquire", - "x-ms-lease-duration": "15", + "x-ms-lease-duration": "60", "x-ms-proposed-lease-id": "61b750d6-1966-0aad-bc52-9983c8db9a95", "x-ms-return-client-request-id": "true", "x-ms-version": "2020-04-08" @@ -93,34 +93,34 @@ "StatusCode": 201, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 13 Nov 2020 16:57:36 GMT", - "ETag": "\u00220x8D887F5391B992E\u0022", - "Last-Modified": "Fri, 13 Nov 2020 16:57:36 GMT", + "Date": "Thu, 10 Dec 2020 21:45:08 GMT", + "ETag": "\u00220x8D89D54DD3C19CE\u0022", + "Last-Modified": "Thu, 10 Dec 2020 21:45:08 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-client-request-id": "26405154-94a3-2fe6-cdbb-a1ca4eca9a28", "x-ms-lease-id": "61b750d6-1966-0aad-bc52-9983c8db9a95", - "x-ms-request-id": "402b1c65-601e-000d-68de-b91216000000", + "x-ms-request-id": "2b445edd-f01e-00d9-0f3d-cf8ea4000000", "x-ms-version": "2020-04-08" }, "ResponseBody": [] }, { - "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-d18dec50-ee08-8ee5-fa69-670969e310ee/test-blob-49f5f754-14a5-562e-f4e3-30367c7b5859", + "RequestUri": "http://kasobolcanarytest2.blob.core.windows.net/test-container-d18dec50-ee08-8ee5-fa69-670969e310ee/test-blob-49f5f754-14a5-562e-f4e3-30367c7b5859", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "1024", - "traceparent": "00-51fa7456c010e24295468a1f289d9adf-5a4586f6cbbc6543-00", + "traceparent": "00-6e1ab7367da9f44ab94fe5762e5df743-e03b31ed6475a548-00", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.7.0-alpha.20201113.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Storage.Blobs/12.8.0-alpha.20201210.1", + "(.NET Framework 4.8.4250.0; Microsoft Windows 10.0.19042 )" ], "x-ms-blob-type": "BlockBlob", "x-ms-client-request-id": "d733402d-c9eb-af6f-0ec1-b08b1eb8338f", - "x-ms-date": "Fri, 13 Nov 2020 16:57:36 GMT", + "x-ms-date": "Thu, 10 Dec 2020 21:45:09 GMT", "x-ms-return-client-request-id": "true", "x-ms-version": "2020-04-08" }, @@ -129,37 +129,37 @@ "ResponseHeaders": { "Content-Length": "0", "Content-MD5": "Ahl14gwRdfxDUc5vS//16w==", - "Date": "Fri, 13 Nov 2020 16:57:36 GMT", - "ETag": "\u00220x8D887F53930ABA5\u0022", - "Last-Modified": "Fri, 13 Nov 2020 16:57:36 GMT", + "Date": "Thu, 10 Dec 2020 21:45:08 GMT", + "ETag": "\u00220x8D89D54DD6AD63C\u0022", + "Last-Modified": "Thu, 10 Dec 2020 21:45:09 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-client-request-id": "d733402d-c9eb-af6f-0ec1-b08b1eb8338f", "x-ms-content-crc64": "NFU9DAPEh\u002BM=", - "x-ms-request-id": "402b1c79-601e-000d-7ade-b91216000000", + "x-ms-request-id": "2b445ee1-f01e-00d9-133d-cf8ea4000000", "x-ms-request-server-encrypted": "true", "x-ms-version": "2020-04-08", - "x-ms-version-id": "2020-11-13T16:57:36.9163450Z" + "x-ms-version-id": "2020-12-10T21:45:09.0505276Z" }, "ResponseBody": [] }, { - "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-d18dec50-ee08-8ee5-fa69-670969e310ee/test-blob-6aa33f15-f208-11f3-f183-814a251c0ce0", + "RequestUri": "http://kasobolcanarytest2.blob.core.windows.net/test-container-d18dec50-ee08-8ee5-fa69-670969e310ee/test-blob-6aa33f15-f208-11f3-f183-814a251c0ce0", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "0", - "traceparent": "00-f4b854c1bd36914c80b0e9a04e16c065-f45001f24b0d0946-00", + "traceparent": "00-0e0397fd00c4714b95651b7a724766a1-ed2b932c9f304441-00", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.7.0-alpha.20201113.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Storage.Blobs/12.8.0-alpha.20201210.1", + "(.NET Framework 4.8.4250.0; Microsoft Windows 10.0.19042 )" ], "x-ms-blob-type": "BlockBlob", "x-ms-client-request-id": "85853840-97de-e067-ac22-5b015972a657", - "x-ms-copy-source": "https://seanmcccanary3.blob.core.windows.net/test-container-d18dec50-ee08-8ee5-fa69-670969e310ee/test-blob-49f5f754-14a5-562e-f4e3-30367c7b5859", - "x-ms-date": "Fri, 13 Nov 2020 16:57:36 GMT", + "x-ms-copy-source": "http://kasobolcanarytest2.blob.core.windows.net/test-container-d18dec50-ee08-8ee5-fa69-670969e310ee/test-blob-49f5f754-14a5-562e-f4e3-30367c7b5859", + "x-ms-date": "Thu, 10 Dec 2020 21:45:09 GMT", "x-ms-lease-id": "61b750d6-1966-0aad-bc52-9983c8db9a95", "x-ms-return-client-request-id": "true", "x-ms-version": "2020-04-08" @@ -168,34 +168,34 @@ "StatusCode": 201, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 13 Nov 2020 16:57:37 GMT", - "ETag": "\u00220x8D887F539A46A25\u0022", - "Last-Modified": "Fri, 13 Nov 2020 16:57:37 GMT", + "Date": "Thu, 10 Dec 2020 21:45:08 GMT", + "ETag": "\u00220x8D89D54DD86F08B\u0022", + "Last-Modified": "Thu, 10 Dec 2020 21:45:09 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-client-request-id": "85853840-97de-e067-ac22-5b015972a657", "x-ms-content-crc64": "NFU9DAPEh\u002BM=", - "x-ms-request-id": "402b1c83-601e-000d-03de-b91216000000", + "x-ms-request-id": "2b445eec-f01e-00d9-1a3d-cf8ea4000000", "x-ms-request-server-encrypted": "true", "x-ms-version": "2020-04-08", - "x-ms-version-id": "2020-11-13T16:57:37.6748853Z" + "x-ms-version-id": "2020-12-10T21:45:09.2487142Z" }, "ResponseBody": [] }, { - "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-d18dec50-ee08-8ee5-fa69-670969e310ee/test-blob-6aa33f15-f208-11f3-f183-814a251c0ce0", + "RequestUri": "http://kasobolcanarytest2.blob.core.windows.net/test-container-d18dec50-ee08-8ee5-fa69-670969e310ee/test-blob-6aa33f15-f208-11f3-f183-814a251c0ce0", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", - "traceparent": "00-88a09f6c6655de46b394373659cfe1e8-62f0b1a2eea84545-00", + "traceparent": "00-ef5fc8545ef9c3488f6d94ba9cef4bdf-5e9356eee6b4c746-00", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.7.0-alpha.20201113.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Storage.Blobs/12.8.0-alpha.20201210.1", + "(.NET Framework 4.8.4250.0; Microsoft Windows 10.0.19042 )" ], "x-ms-client-request-id": "e64b630f-ad33-6eb1-2dc7-3f918773c32f", - "x-ms-date": "Fri, 13 Nov 2020 16:57:37 GMT", + "x-ms-date": "Thu, 10 Dec 2020 21:45:09 GMT", "x-ms-return-client-request-id": "true", "x-ms-version": "2020-04-08" }, @@ -206,41 +206,39 @@ "Content-Length": "1024", "Content-MD5": "Ahl14gwRdfxDUc5vS//16w==", "Content-Type": "application/octet-stream", - "Date": "Fri, 13 Nov 2020 16:57:37 GMT", - "ETag": "\u00220x8D887F539A46A25\u0022", - "Last-Modified": "Fri, 13 Nov 2020 16:57:37 GMT", + "Date": "Thu, 10 Dec 2020 21:45:08 GMT", + "ETag": "\u00220x8D89D54DD86F08B\u0022", + "Last-Modified": "Thu, 10 Dec 2020 21:45:09 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], - "Vary": "Origin", "x-ms-blob-type": "BlockBlob", "x-ms-client-request-id": "e64b630f-ad33-6eb1-2dc7-3f918773c32f", - "x-ms-creation-time": "Fri, 13 Nov 2020 16:57:37 GMT", + "x-ms-creation-time": "Thu, 10 Dec 2020 21:45:09 GMT", "x-ms-is-current-version": "true", - "x-ms-last-access-time": "Fri, 13 Nov 2020 16:57:37 GMT", "x-ms-lease-duration": "fixed", "x-ms-lease-state": "leased", "x-ms-lease-status": "locked", - "x-ms-request-id": "402b1d89-601e-000d-59de-b91216000000", + "x-ms-request-id": "2b445efa-f01e-00d9-263d-cf8ea4000000", "x-ms-server-encrypted": "true", "x-ms-version": "2020-04-08", - "x-ms-version-id": "2020-11-13T16:57:37.6748853Z" + "x-ms-version-id": "2020-12-10T21:45:09.2487142Z" }, "ResponseBody": "SMKVXeKFgSmMIJW03uVYXJOrL3aadPH4TtHdmwv5SAEYEn/vy2ELz9AXmoP\u002BMVDoYkU2o5sjjdTQnA4Rp\u002BYdkteUnMxmaZEyoF\u002Bmg9pu\u002BhyA9TjGw6Vm9ISqHi5S\u002Bifq\u002BQirapWEgvm0AwI7fQn6YqLxkLKtV84yLadHu0pi4KY3u4nSwo\u002BH/HM/EsCiKnZ6sLyMYGl1PKI5eTztPMavUSJcA8GAKJ8SapQ/bkQNjwMxzQuO1YA8wn/mmElSmcCskMCeRSe0\u002BogcefXVNs5eLOk5vG\u002B7IXuiIEFCmY9Wv9HTkt2Db0nbfNKDcVuKZouwiGxgGdxQ8G9F/CXlcWD4xbojAaPw2ryfXT\u002BcOK8fF7m1khEj9qb1gqJuPnMk9QpxiquhZmTnv62vwLuctLi/JeRsMN9P1M8TLn4BgZxJe2g1K60DfbBUzdJjdDXrWM7prxiOuMUrIrbbjjjm5j4QZUVSZ4kKu6c0F2IN61\u002BaJ9WvF9KDusKiCQj3J\u002B94bueUUw7vmPFF3/NxWqBjHjZWQWdiNs5rjKqDsF2AE5S4vKl6eJhRq47kajjfEmAhP\u002BvSoOaIFTgZKcZjbOiTxctfuJ736KWdBZbYfsuVjHpKYXByrXOtMKZxYE/S7T6mUKVtgFnCKlZFNJpQr5ZshJxMGQp3IRdYsYj3hodWyxhXMS4mKAwgiDcaLHnYXYAQBNyyhdMzLy6NFM7RyqPP72iC\u002BH5oRVyQK5HTXfWegFMI54Gqo0VEIwL/mRM9T72TSjwQVWQCqL\u002BAIlpCYNE475R6yOMhJEwjPdR7aKtIU9zTPxK4jiruBj7BKoHrAcMwx6p/wobZcibw7BiQhj8TN859biC/f2BpjMKlX/nKNzwRSqEByZBW\u002Bs3ryKESXn/\u002BrvKybpOjcUdJFTbDNBIsJbXbfjueEm4\u002BJ3RS07e/Vy1DprEHGMmpbtlZt7Raksa7v6LsNt9DX5uDdEYeUJ2Pir0JgI5gJQ3rMhBhRVq65JStlxQU0yFN/0YWg6SCih08yi32URI4WpqVAAPP4RpByY\u002BycLiIe7ecu4BISqFpaajyJXotw5OCdT16f9Idfh0r1LkU0BlltE52WpWR8A/4LJda3LyfFAX8L/t6DvvkfjxiHHXnVJiPjXErtmn98IUuglI6wqJhi8C0F6Ae6qZTkdtYLtOZENf\u002By05LdF2c/z51TIupqbuaAZG0Mz33caLL2CWNpMKylHF6O/dTFRdjFxhiqJ4aqecgvi1B5N2aB1qsgJs3Dlp8wrgaLm3ERut6URsklcgDsC8\u002BbeaUcK\u002BU4DScppV8LAm95ebm/3t5W3dBx5PBdXGSqM9s\u002BKF051EIhk05J59W/iQSZ7DhHbGzxRFuUg==" }, { - "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-d18dec50-ee08-8ee5-fa69-670969e310ee?restype=container", + "RequestUri": "http://kasobolcanarytest2.blob.core.windows.net/test-container-d18dec50-ee08-8ee5-fa69-670969e310ee?restype=container", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", - "traceparent": "00-8a2b33c13a3b7541a2a6c86ec6fd04ff-c8e0bb3c0bcefb4d-00", + "traceparent": "00-57903ed268b4bf4397f283876a14105a-166931c961b49646-00", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.7.0-alpha.20201113.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Storage.Blobs/12.8.0-alpha.20201210.1", + "(.NET Framework 4.8.4250.0; Microsoft Windows 10.0.19042 )" ], "x-ms-client-request-id": "f6f26b1d-c027-5224-27d4-3a25b133c256", - "x-ms-date": "Fri, 13 Nov 2020 16:57:37 GMT", + "x-ms-date": "Thu, 10 Dec 2020 21:45:09 GMT", "x-ms-return-client-request-id": "true", "x-ms-version": "2020-04-08" }, @@ -248,13 +246,13 @@ "StatusCode": 202, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 13 Nov 2020 16:57:40 GMT", + "Date": "Thu, 10 Dec 2020 21:45:09 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-client-request-id": "f6f26b1d-c027-5224-27d4-3a25b133c256", - "x-ms-request-id": "402b1d8f-601e-000d-5dde-b91216000000", + "x-ms-request-id": "2b445efc-f01e-00d9-283d-cf8ea4000000", "x-ms-version": "2020-04-08" }, "ResponseBody": [] @@ -262,6 +260,6 @@ ], "Variables": { "RandomSeed": "1921296471", - "Storage_TestConfigDefault": "ProductionTenant\nseanmcccanary3\nU2FuaXRpemVk\nhttps://seanmcccanary3.blob.core.windows.net\nhttps://seanmcccanary3.file.core.windows.net\nhttps://seanmcccanary3.queue.core.windows.net\nhttps://seanmcccanary3.table.core.windows.net\n\n\n\n\nhttps://seanmcccanary3-secondary.blob.core.windows.net\nhttps://seanmcccanary3-secondary.file.core.windows.net\nhttps://seanmcccanary3-secondary.queue.core.windows.net\nhttps://seanmcccanary3-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seanmcccanary3.blob.core.windows.net/;QueueEndpoint=https://seanmcccanary3.queue.core.windows.net/;FileEndpoint=https://seanmcccanary3.file.core.windows.net/;BlobSecondaryEndpoint=https://seanmcccanary3-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seanmcccanary3-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seanmcccanary3-secondary.file.core.windows.net/;AccountName=seanmcccanary3;AccountKey=Kg==;\ntestscope1" + "Storage_TestConfigDefault": "ProductionTenant\nkasobolcanarytest2\nU2FuaXRpemVk\nhttp://kasobolcanarytest2.blob.core.windows.net\nhttp://kasobolcanarytest2.file.core.windows.net\nhttp://kasobolcanarytest2.queue.core.windows.net\nhttp://kasobolcanarytest2.table.core.windows.net\n\n\n\n\nhttp://kasobolcanarytest2-secondary.blob.core.windows.net\nhttp://kasobolcanarytest2-secondary.file.core.windows.net\nhttp://kasobolcanarytest2-secondary.queue.core.windows.net\nhttp://kasobolcanarytest2-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=http://kasobolcanarytest2.blob.core.windows.net/;QueueEndpoint=http://kasobolcanarytest2.queue.core.windows.net/;FileEndpoint=http://kasobolcanarytest2.file.core.windows.net/;BlobSecondaryEndpoint=http://kasobolcanarytest2-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=http://kasobolcanarytest2-secondary.queue.core.windows.net/;FileSecondaryEndpoint=http://kasobolcanarytest2-secondary.file.core.windows.net/;AccountName=kasobolcanarytest2;AccountKey=Kg==;\nencryptionScope" } } \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlockBlobClientTests/SyncUploadFromUriAsync_LeaseAsync.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlockBlobClientTests/SyncUploadFromUriAsync_LeaseAsync.json index 9b3568ffab604..2c0423e3c2e18 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlockBlobClientTests/SyncUploadFromUriAsync_LeaseAsync.json +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlockBlobClientTests/SyncUploadFromUriAsync_LeaseAsync.json @@ -1,18 +1,18 @@ { "Entries": [ { - "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-dbe67df6-db80-5f5e-e257-5b93de9c39e7?restype=container", + "RequestUri": "http://kasobolcanarytest2.blob.core.windows.net/test-container-dbe67df6-db80-5f5e-e257-5b93de9c39e7?restype=container", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "traceparent": "00-bb673568643d37459a1327b16193f284-5afdb57b4403644c-00", + "traceparent": "00-1ed910faffb6824bae1540b71d74ce52-64eed84a2cd7aa4b-00", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.7.0-alpha.20201113.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Storage.Blobs/12.8.0-alpha.20201210.1", + "(.NET Framework 4.8.4250.0; Microsoft Windows 10.0.19042 )" ], "x-ms-blob-public-access": "container", "x-ms-client-request-id": "5cdc0e11-dfa4-9242-4859-fe27b8654e41", - "x-ms-date": "Fri, 13 Nov 2020 16:57:59 GMT", + "x-ms-date": "Thu, 10 Dec 2020 21:45:09 GMT", "x-ms-return-client-request-id": "true", "x-ms-version": "2020-04-08" }, @@ -20,33 +20,33 @@ "StatusCode": 201, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 13 Nov 2020 16:57:59 GMT", - "ETag": "\u00220x8D887F54719AD21\u0022", - "Last-Modified": "Fri, 13 Nov 2020 16:58:00 GMT", + "Date": "Thu, 10 Dec 2020 21:45:09 GMT", + "ETag": "\u00220x8D89D54DDD4915D\u0022", + "Last-Modified": "Thu, 10 Dec 2020 21:45:09 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-client-request-id": "5cdc0e11-dfa4-9242-4859-fe27b8654e41", - "x-ms-request-id": "c7d318e7-f01e-000f-44de-b9acae000000", + "x-ms-request-id": "180b36f6-c01e-007b-5b3d-cfb4bd000000", "x-ms-version": "2020-04-08" }, "ResponseBody": [] }, { - "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-dbe67df6-db80-5f5e-e257-5b93de9c39e7/test-blob-d0826885-ddbf-9242-b75f-55d729b9fef1", + "RequestUri": "http://kasobolcanarytest2.blob.core.windows.net/test-container-dbe67df6-db80-5f5e-e257-5b93de9c39e7/test-blob-d0826885-ddbf-9242-b75f-55d729b9fef1", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "0", - "traceparent": "00-fd0d96a5a69fe54490348cb9b70c63cc-6bfa70f3ee21bb4a-00", + "traceparent": "00-f46e3f8e68dead4089c76d001c0de335-d62c96c1c9aaa34f-00", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.7.0-alpha.20201113.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Storage.Blobs/12.8.0-alpha.20201210.1", + "(.NET Framework 4.8.4250.0; Microsoft Windows 10.0.19042 )" ], "x-ms-blob-type": "BlockBlob", "x-ms-client-request-id": "4fa22e6f-7ee3-3f81-ba6f-392e06f4a6e2", - "x-ms-date": "Fri, 13 Nov 2020 16:57:59 GMT", + "x-ms-date": "Thu, 10 Dec 2020 21:45:09 GMT", "x-ms-return-client-request-id": "true", "x-ms-version": "2020-04-08" }, @@ -55,36 +55,36 @@ "ResponseHeaders": { "Content-Length": "0", "Content-MD5": "1B2M2Y8AsgTpgAmY7PhCfg==", - "Date": "Fri, 13 Nov 2020 16:57:59 GMT", - "ETag": "\u00220x8D887F54721578B\u0022", - "Last-Modified": "Fri, 13 Nov 2020 16:58:00 GMT", + "Date": "Thu, 10 Dec 2020 21:45:09 GMT", + "ETag": "\u00220x8D89D54DDE37EDB\u0022", + "Last-Modified": "Thu, 10 Dec 2020 21:45:09 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-client-request-id": "4fa22e6f-7ee3-3f81-ba6f-392e06f4a6e2", "x-ms-content-crc64": "AAAAAAAAAAA=", - "x-ms-request-id": "c7d318f7-f01e-000f-4bde-b9acae000000", + "x-ms-request-id": "180b36fa-c01e-007b-5d3d-cfb4bd000000", "x-ms-request-server-encrypted": "true", "x-ms-version": "2020-04-08", - "x-ms-version-id": "2020-11-13T16:58:00.3029899Z" + "x-ms-version-id": "2020-12-10T21:45:09.8422768Z" }, "ResponseBody": [] }, { - "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-dbe67df6-db80-5f5e-e257-5b93de9c39e7/test-blob-d0826885-ddbf-9242-b75f-55d729b9fef1?comp=lease", + "RequestUri": "http://kasobolcanarytest2.blob.core.windows.net/test-container-dbe67df6-db80-5f5e-e257-5b93de9c39e7/test-blob-d0826885-ddbf-9242-b75f-55d729b9fef1?comp=lease", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "traceparent": "00-80e282e60301454f8d46847dddc949f7-bc032eefc5805a42-00", + "traceparent": "00-a6e6ec751af02f428d661a0d7e4c1039-3f47813cc5408d49-00", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.7.0-alpha.20201113.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Storage.Blobs/12.8.0-alpha.20201210.1", + "(.NET Framework 4.8.4250.0; Microsoft Windows 10.0.19042 )" ], "x-ms-client-request-id": "c946dd67-73ee-fe4d-6efe-4c15f1cf22ed", - "x-ms-date": "Fri, 13 Nov 2020 16:57:59 GMT", + "x-ms-date": "Thu, 10 Dec 2020 21:45:09 GMT", "x-ms-lease-action": "acquire", - "x-ms-lease-duration": "15", + "x-ms-lease-duration": "60", "x-ms-proposed-lease-id": "36d1922f-71e6-a3c0-03cd-8db21dcc37f6", "x-ms-return-client-request-id": "true", "x-ms-version": "2020-04-08" @@ -93,34 +93,34 @@ "StatusCode": 201, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 13 Nov 2020 16:57:59 GMT", - "ETag": "\u00220x8D887F54721578B\u0022", - "Last-Modified": "Fri, 13 Nov 2020 16:58:00 GMT", + "Date": "Thu, 10 Dec 2020 21:45:09 GMT", + "ETag": "\u00220x8D89D54DDE37EDB\u0022", + "Last-Modified": "Thu, 10 Dec 2020 21:45:09 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-client-request-id": "c946dd67-73ee-fe4d-6efe-4c15f1cf22ed", "x-ms-lease-id": "36d1922f-71e6-a3c0-03cd-8db21dcc37f6", - "x-ms-request-id": "c7d3190b-f01e-000f-58de-b9acae000000", + "x-ms-request-id": "180b3702-c01e-007b-653d-cfb4bd000000", "x-ms-version": "2020-04-08" }, "ResponseBody": [] }, { - "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-dbe67df6-db80-5f5e-e257-5b93de9c39e7/test-blob-f002fd1d-5c8d-cfcb-9c2e-8481e814e9d0", + "RequestUri": "http://kasobolcanarytest2.blob.core.windows.net/test-container-dbe67df6-db80-5f5e-e257-5b93de9c39e7/test-blob-f002fd1d-5c8d-cfcb-9c2e-8481e814e9d0", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "1024", - "traceparent": "00-d7b8f0a20d0a9f418d49d8d13568ffd9-176d486124c4db45-00", + "traceparent": "00-e6b731ce7bedb74f973efd60b6f221f0-c615dee614511843-00", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.7.0-alpha.20201113.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Storage.Blobs/12.8.0-alpha.20201210.1", + "(.NET Framework 4.8.4250.0; Microsoft Windows 10.0.19042 )" ], "x-ms-blob-type": "BlockBlob", "x-ms-client-request-id": "e10215f2-ae36-0668-cfda-110729027138", - "x-ms-date": "Fri, 13 Nov 2020 16:57:59 GMT", + "x-ms-date": "Thu, 10 Dec 2020 21:45:10 GMT", "x-ms-return-client-request-id": "true", "x-ms-version": "2020-04-08" }, @@ -129,37 +129,37 @@ "ResponseHeaders": { "Content-Length": "0", "Content-MD5": "5KC5ICpWiynnPY7YQkK3ug==", - "Date": "Fri, 13 Nov 2020 16:57:59 GMT", - "ETag": "\u00220x8D887F547324A98\u0022", - "Last-Modified": "Fri, 13 Nov 2020 16:58:00 GMT", + "Date": "Thu, 10 Dec 2020 21:45:09 GMT", + "ETag": "\u00220x8D89D54DE0C949F\u0022", + "Last-Modified": "Thu, 10 Dec 2020 21:45:10 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-client-request-id": "e10215f2-ae36-0668-cfda-110729027138", "x-ms-content-crc64": "x\u002BuMn/35Qig=", - "x-ms-request-id": "c7d3191d-f01e-000f-6ade-b9acae000000", + "x-ms-request-id": "180b3707-c01e-007b-693d-cfb4bd000000", "x-ms-request-server-encrypted": "true", "x-ms-version": "2020-04-08", - "x-ms-version-id": "2020-11-13T16:58:00.4150701Z" + "x-ms-version-id": "2020-12-10T21:45:10.1105311Z" }, "ResponseBody": [] }, { - "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-dbe67df6-db80-5f5e-e257-5b93de9c39e7/test-blob-d0826885-ddbf-9242-b75f-55d729b9fef1", + "RequestUri": "http://kasobolcanarytest2.blob.core.windows.net/test-container-dbe67df6-db80-5f5e-e257-5b93de9c39e7/test-blob-d0826885-ddbf-9242-b75f-55d729b9fef1", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "0", - "traceparent": "00-9e2150d8668c464bbce263f77eb28245-3638a0a2f0084e45-00", + "traceparent": "00-9464d0727ce1324eaa11e1bebc3f70c0-278331de7aa65c42-00", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.7.0-alpha.20201113.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Storage.Blobs/12.8.0-alpha.20201210.1", + "(.NET Framework 4.8.4250.0; Microsoft Windows 10.0.19042 )" ], "x-ms-blob-type": "BlockBlob", "x-ms-client-request-id": "0ba93f7d-54c3-ab31-53f1-23c61420c07f", - "x-ms-copy-source": "https://seanmcccanary3.blob.core.windows.net/test-container-dbe67df6-db80-5f5e-e257-5b93de9c39e7/test-blob-f002fd1d-5c8d-cfcb-9c2e-8481e814e9d0", - "x-ms-date": "Fri, 13 Nov 2020 16:57:59 GMT", + "x-ms-copy-source": "http://kasobolcanarytest2.blob.core.windows.net/test-container-dbe67df6-db80-5f5e-e257-5b93de9c39e7/test-blob-f002fd1d-5c8d-cfcb-9c2e-8481e814e9d0", + "x-ms-date": "Thu, 10 Dec 2020 21:45:10 GMT", "x-ms-lease-id": "36d1922f-71e6-a3c0-03cd-8db21dcc37f6", "x-ms-return-client-request-id": "true", "x-ms-version": "2020-04-08" @@ -168,34 +168,34 @@ "StatusCode": 201, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 13 Nov 2020 16:57:59 GMT", - "ETag": "\u00220x8D887F5474DC6D1\u0022", - "Last-Modified": "Fri, 13 Nov 2020 16:58:00 GMT", + "Date": "Thu, 10 Dec 2020 21:45:09 GMT", + "ETag": "\u00220x8D89D54DE2552B9\u0022", + "Last-Modified": "Thu, 10 Dec 2020 21:45:10 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-client-request-id": "0ba93f7d-54c3-ab31-53f1-23c61420c07f", "x-ms-content-crc64": "x\u002BuMn/35Qig=", - "x-ms-request-id": "c7d31928-f01e-000f-75de-b9acae000000", + "x-ms-request-id": "180b371c-c01e-007b-783d-cfb4bd000000", "x-ms-request-server-encrypted": "true", "x-ms-version": "2020-04-08", - "x-ms-version-id": "2020-11-13T16:58:00.5951969Z" + "x-ms-version-id": "2020-12-10T21:45:10.2736841Z" }, "ResponseBody": [] }, { - "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-dbe67df6-db80-5f5e-e257-5b93de9c39e7/test-blob-d0826885-ddbf-9242-b75f-55d729b9fef1", + "RequestUri": "http://kasobolcanarytest2.blob.core.windows.net/test-container-dbe67df6-db80-5f5e-e257-5b93de9c39e7/test-blob-d0826885-ddbf-9242-b75f-55d729b9fef1", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", - "traceparent": "00-4f9dfe31e646e542b2a9797367fab231-f93aa387d630634e-00", + "traceparent": "00-9509998c2f774048a920fb95be3ae6a3-491b9c3a92830145-00", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.7.0-alpha.20201113.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Storage.Blobs/12.8.0-alpha.20201210.1", + "(.NET Framework 4.8.4250.0; Microsoft Windows 10.0.19042 )" ], "x-ms-client-request-id": "ea8981c5-6558-3574-6125-2ffd200e0591", - "x-ms-date": "Fri, 13 Nov 2020 16:57:59 GMT", + "x-ms-date": "Thu, 10 Dec 2020 21:45:10 GMT", "x-ms-return-client-request-id": "true", "x-ms-version": "2020-04-08" }, @@ -206,41 +206,39 @@ "Content-Length": "1024", "Content-MD5": "5KC5ICpWiynnPY7YQkK3ug==", "Content-Type": "application/octet-stream", - "Date": "Fri, 13 Nov 2020 16:57:59 GMT", - "ETag": "\u00220x8D887F5474DC6D1\u0022", - "Last-Modified": "Fri, 13 Nov 2020 16:58:00 GMT", + "Date": "Thu, 10 Dec 2020 21:45:10 GMT", + "ETag": "\u00220x8D89D54DE2552B9\u0022", + "Last-Modified": "Thu, 10 Dec 2020 21:45:10 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], - "Vary": "Origin", "x-ms-blob-type": "BlockBlob", "x-ms-client-request-id": "ea8981c5-6558-3574-6125-2ffd200e0591", - "x-ms-creation-time": "Fri, 13 Nov 2020 16:58:00 GMT", + "x-ms-creation-time": "Thu, 10 Dec 2020 21:45:10 GMT", "x-ms-is-current-version": "true", - "x-ms-last-access-time": "Fri, 13 Nov 2020 16:58:00 GMT", "x-ms-lease-duration": "fixed", "x-ms-lease-state": "leased", "x-ms-lease-status": "locked", - "x-ms-request-id": "c7d3193d-f01e-000f-08de-b9acae000000", + "x-ms-request-id": "180b3735-c01e-007b-0b3d-cfb4bd000000", "x-ms-server-encrypted": "true", "x-ms-version": "2020-04-08", - "x-ms-version-id": "2020-11-13T16:58:00.5951969Z" + "x-ms-version-id": "2020-12-10T21:45:10.2736841Z" }, "ResponseBody": "OEJ55o2ry4CDoAb5sx/7yx8/Sj\u002BGbQdA02iLGWL5P1/K0GhlvsjAuxLFRU5tU0tOAoH2soXiZ8o6OBIlH7EeimCmLuO3lQ1Xfo4twCi5038cPBbhA43a52idKoW1m5xgp7rtxiVol21znjP2taaigWWSCOKaPYfTy0Z6GmqIoeLyzBltzAxas6WpbWRa4zLB\u002BqkgI5O5xmozGvre7n0C6/xRBOiNNLRYN1Q98M8jeegUuR/BZ35POQavOrIRfMUop4JnCN9JM8b0x\u002Bs\u002Be9WaD6ESyTVdQYN\u002BAcvh3voCRruPFElMu3AIyoVZzKCTEb0xFCoR/7KQymb/6QcUaFXL8YEvrmeMTlMwCv\u002BvBHTj6u8OsMrP8UcI/kniTdJo9GIvjdoeY2JVpcbW4PSz4MbxG/4XBriL/AA5Jq8dqQCBxxacgHeZxIaNuAoE\u002BBFSVR6D8TLUUe2qpJHa5T2yOPvFVRjeFmBOV1d3ik6thgPv5tGRmbjOrXYo8tvmv99J2n8PPqL4dD69NJnaXMef/B2N6/5rIZ9C96ihtiSEaJh3LrDOnUhg9nKT02Qf81CviPW9WNTg3rjgzEb6Vr0aOcsAYi4W0F7VLfSL1006IwRX8i0uxhDEllD37tEBZp\u002B0eZqYHpAimLeX6CvfVQZrpahComSQ63K7PMvdH\u002BKN08dV1l6zoQVzNVp2l93l5EFJi0kov8M7JI0n3eHERHjVCRRjin6nuAOjzm0JGlSU1VeKk5SZZBQDGbLQi8Mjr/DhoI3JgVrDotNFhfBWMQo4kgiJOrDkPKQAYHDL1i0/fx99KHnHy1P9xvHAU98jrOenl/i7mXU//WToyCHp98umBQXR2QmRcca0jHO/I\u002BjE3bOJJD40hOWqPSsV3gMyE84mGk7aUdPeFiYyBg0BgNl7JOttYNOMcYAfJ5vee5PDgnikmAia6ovgqg0YAn7YqL1RmroYxbP7mqnNuio4AJuSboSVXOfQ4TlfjLXFc28CR3/djOHZqrzFqf5fzC9hp6pyhpP6QkvWgLmAuDj9NiY5y3OrW3O5ucTH0LPpcRQJ/uULUu3cCAQzBgsoWPGEx3LXJgG8tUw2uczPMnKY7Q\u002BkdrpT8eM5XcJueFRnkWDSQghBEUoSTUiY1JkgDNWSmxn8g\u002BI3MNWOnsk/Tj34zyds/O9pV9zEkSlxuh1KGFDs2907aw1\u002BmhIysnOB0/8KoAVxtA/lKEM9N/K4xXa4RIV4UnJgvGQa7mHdNqVoQr0pZxoY2GRABrKZ/TMbxdWbem3tCYGNqeOgV8WtCPKe1PU0j15cn2sgOEu/x74w/ymMQrw3ezk8nL02d4Gekv7A\u002Bik\u002B5zZ2P9oBzdA1zeIkcFecIcY2Zw==" }, { - "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-dbe67df6-db80-5f5e-e257-5b93de9c39e7?restype=container", + "RequestUri": "http://kasobolcanarytest2.blob.core.windows.net/test-container-dbe67df6-db80-5f5e-e257-5b93de9c39e7?restype=container", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", - "traceparent": "00-165871534aa9bd44bf6eb33193057035-ef11e8a78037ed40-00", + "traceparent": "00-31b3d3b2b3ce56469f71404bbbbcd954-65f930b65bfa8748-00", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.7.0-alpha.20201113.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Storage.Blobs/12.8.0-alpha.20201210.1", + "(.NET Framework 4.8.4250.0; Microsoft Windows 10.0.19042 )" ], "x-ms-client-request-id": "920022d4-d697-cf27-9f3e-d89f402b8e31", - "x-ms-date": "Fri, 13 Nov 2020 16:58:00 GMT", + "x-ms-date": "Thu, 10 Dec 2020 21:45:10 GMT", "x-ms-return-client-request-id": "true", "x-ms-version": "2020-04-08" }, @@ -248,13 +246,13 @@ "StatusCode": 202, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 13 Nov 2020 16:57:59 GMT", + "Date": "Thu, 10 Dec 2020 21:45:10 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-client-request-id": "920022d4-d697-cf27-9f3e-d89f402b8e31", - "x-ms-request-id": "c7d31952-f01e-000f-1bde-b9acae000000", + "x-ms-request-id": "180b373f-c01e-007b-143d-cfb4bd000000", "x-ms-version": "2020-04-08" }, "ResponseBody": [] @@ -262,6 +260,6 @@ ], "Variables": { "RandomSeed": "1811778684", - "Storage_TestConfigDefault": "ProductionTenant\nseanmcccanary3\nU2FuaXRpemVk\nhttps://seanmcccanary3.blob.core.windows.net\nhttps://seanmcccanary3.file.core.windows.net\nhttps://seanmcccanary3.queue.core.windows.net\nhttps://seanmcccanary3.table.core.windows.net\n\n\n\n\nhttps://seanmcccanary3-secondary.blob.core.windows.net\nhttps://seanmcccanary3-secondary.file.core.windows.net\nhttps://seanmcccanary3-secondary.queue.core.windows.net\nhttps://seanmcccanary3-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seanmcccanary3.blob.core.windows.net/;QueueEndpoint=https://seanmcccanary3.queue.core.windows.net/;FileEndpoint=https://seanmcccanary3.file.core.windows.net/;BlobSecondaryEndpoint=https://seanmcccanary3-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seanmcccanary3-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seanmcccanary3-secondary.file.core.windows.net/;AccountName=seanmcccanary3;AccountKey=Kg==;\ntestscope1" + "Storage_TestConfigDefault": "ProductionTenant\nkasobolcanarytest2\nU2FuaXRpemVk\nhttp://kasobolcanarytest2.blob.core.windows.net\nhttp://kasobolcanarytest2.file.core.windows.net\nhttp://kasobolcanarytest2.queue.core.windows.net\nhttp://kasobolcanarytest2.table.core.windows.net\n\n\n\n\nhttp://kasobolcanarytest2-secondary.blob.core.windows.net\nhttp://kasobolcanarytest2-secondary.file.core.windows.net\nhttp://kasobolcanarytest2-secondary.queue.core.windows.net\nhttp://kasobolcanarytest2-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=http://kasobolcanarytest2.blob.core.windows.net/;QueueEndpoint=http://kasobolcanarytest2.queue.core.windows.net/;FileEndpoint=http://kasobolcanarytest2.file.core.windows.net/;BlobSecondaryEndpoint=http://kasobolcanarytest2-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=http://kasobolcanarytest2-secondary.queue.core.windows.net/;FileSecondaryEndpoint=http://kasobolcanarytest2-secondary.file.core.windows.net/;AccountName=kasobolcanarytest2;AccountKey=Kg==;\nencryptionScope" } } \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Common/tests/Shared/AssemblyInfo.cs b/sdk/storage/Azure.Storage.Common/tests/Shared/AssemblyInfo.cs index acd958435d9b8..2b67d0fa8bfe4 100644 --- a/sdk/storage/Azure.Storage.Common/tests/Shared/AssemblyInfo.cs +++ b/sdk/storage/Azure.Storage.Common/tests/Shared/AssemblyInfo.cs @@ -1,11 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using Azure.Core.TestFramework; using NUnit.Framework; -// TODO: Look into writing a custom Parallelizable attribute that will run -// sequentially for record/playback but let us run in parallel for live tests. -// [assembly: Parallelizable(ParallelScope.Children)] +[assembly: LiveParallelizable(ParallelScope.Fixtures)] // Set per-test timeout to 20 minutes to prevent a single test from hanging the whole suite [assembly: NUnit.Framework.Timeout(20 * 60 * 1000)] diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/DirectoryClientTests.cs b/sdk/storage/Azure.Storage.Files.DataLake/tests/DirectoryClientTests.cs index c61a8781b1cb9..bd126bd47701f 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/tests/DirectoryClientTests.cs +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/DirectoryClientTests.cs @@ -1122,6 +1122,7 @@ public async Task SetAccessControlRecursiveAsync_InBatches() [Test] [LiveOnly] [ServiceVersion(Min = DataLakeClientOptions.ServiceVersion.V2019_12_12)] + [Ignore("https://github.com/Azure/azure-sdk-for-net/issues/17465")] public async Task SetAccessControlRecursiveAsync_InBatches_StopAndResume() { await using DisposingFileSystem test = await GetNewFileSystem(); @@ -1399,6 +1400,7 @@ public async Task SetAccessControlRecursiveAsync_ContinueOnFailure() [Test] [LiveOnly] [ServiceVersion(Min = DataLakeClientOptions.ServiceVersion.V2020_02_10)] + [Ignore("https://github.com/Azure/azure-sdk-for-net/issues/17465")] public async Task SetAccessControlRecursiveAsync_ContinueOnFailure_Batches_StopAndResume() { string fileSystemName = GetNewFileSystemName(); @@ -2093,6 +2095,7 @@ public async Task UpdateAccessControlRecursiveAsync_ContinueOnFailure() } [Test] + [Ignore("https://github.com/Azure/azure-sdk-for-net/issues/17465")] [LiveOnly] [ServiceVersion(Min = DataLakeClientOptions.ServiceVersion.V2020_02_10)] public async Task UpdateAccessControlRecursiveAsync_ContinueOnFailure_Batches_StopAndResume() @@ -2506,6 +2509,7 @@ public async Task RemoveAccessControlRecursiveAsync_InBatches() [Test] [LiveOnly] [ServiceVersion(Min = DataLakeClientOptions.ServiceVersion.V2019_12_12)] + [Ignore("https://github.com/Azure/azure-sdk-for-net/issues/17465")] public async Task RemoveAccessControlRecursiveAsync_InBatches_StopAndResume() { await using DisposingFileSystem test = await GetNewFileSystem(); diff --git a/sdk/storage/Azure.Storage.Queues/tests/ServiceClientTests.cs b/sdk/storage/Azure.Storage.Queues/tests/ServiceClientTests.cs index 198942a28ff19..2060a624e8688 100644 --- a/sdk/storage/Azure.Storage.Queues/tests/ServiceClientTests.cs +++ b/sdk/storage/Azure.Storage.Queues/tests/ServiceClientTests.cs @@ -15,6 +15,7 @@ namespace Azure.Storage.Queues.Test { + [NonParallelizable] public class ServiceClientTests : QueueTestBase { public ServiceClientTests(bool async)