Skip to content

Commit

Permalink
fix compilation (#40787)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaschrep-msft authored Dec 14, 2023
1 parent 92ea9b3 commit 49b0ace
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions sdk/storage/Azure.Storage.Blobs/tests/BlobClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1343,9 +1343,10 @@ public async Task UploadAsync_ExpectContinue()
BlobsClientBuilder.GetServiceClient_SharedKey(options));
BlobClient blob = InstrumentClient(test.Container.GetBlobClient(GetNewBlobName()));

assertPolicy.CheckRequest = true;
await blob.UploadAsync(BinaryData.FromBytes(GetRandomBuffer(1024)));
assertPolicy.CheckRequest = false;
using (assertPolicy.CheckRequestScope())
{
await blob.UploadAsync(BinaryData.FromBytes(GetRandomBuffer(1024)));
}
}
#endregion Upload

Expand Down

0 comments on commit 49b0ace

Please sign in to comment.