Skip to content

Commit

Permalink
Update Microsoft.Rest.ClientRuntime (#37654)
Browse files Browse the repository at this point in the history
* Update Microsoft.Rest.ClientRuntime

Updates a couple perf projects to use the newest
Microsoft.Rest.ClientRuntime for CVE-2022-26907.

* Fix xUnit2000 test warning-as-error

* Disable PR pipelines for deprecated packages
  • Loading branch information
heaths authored Jul 17, 2023
1 parent 9994305 commit 7c8f7de
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions sdk/applicationinsights/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger: none
pr: none

extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.Azure.Management.ContainerRegistry" VersionOverride="4.0.0" />
<PackageReference Include="Microsoft.Azure.Management.ContainerRegistry.Fluent"/>
<PackageReference Include="Microsoft.Rest.ClientRuntime" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<PackageReference Include="Microsoft.Azure.Management.ResourceManager" />
<PackageReference Include="Microsoft.Azure.Services.AppAuthentication" />
<PackageReference Include="Microsoft.Azure.Storage.Blob" />
<PackageReference Include="Microsoft.Rest.ClientRuntime" />
<PackageReference Include="Polly" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void SimpleOptionsTest()
Assert.True(testReceiver.ReceiveTimeout.Equals(testReceiveTimeout),
$"Unexpected receive timeout {testReceiver.ReceiveTimeout}");
Assert.NotNull(testReceiver.Options);
Assert.Equal(testReceiver.Options.Identifier, tag);
Assert.Equal(tag, testReceiver.Options.Identifier);

// EnableReceiverRuntimeMetric is false by default. This case is a convenient opportunity to
// verify that RuntimeInformation was not updated when the option is false.
Expand Down
1 change: 1 addition & 0 deletions sdk/operationalinsights/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.

trigger: none
pr: none

extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
Expand Down

0 comments on commit 7c8f7de

Please sign in to comment.