From 0c4b585e2e48ae41da07de4f7c6cdb31df43537a Mon Sep 17 00:00:00 2001 From: Kiran Kumar Kolli Date: Wed, 11 Sep 2024 12:07:18 -0700 Subject: [PATCH 1/2] Pinning System.Net.Http and System.Text.RegularExpressions to latest patched versions --- Microsoft.Azure.Cosmos/src/Microsoft.Azure.Cosmos.csproj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Microsoft.Azure.Cosmos/src/Microsoft.Azure.Cosmos.csproj b/Microsoft.Azure.Cosmos/src/Microsoft.Azure.Cosmos.csproj index 6fa9a6f282..bfe90ace04 100644 --- a/Microsoft.Azure.Cosmos/src/Microsoft.Azure.Cosmos.csproj +++ b/Microsoft.Azure.Cosmos/src/Microsoft.Azure.Cosmos.csproj @@ -119,6 +119,8 @@ + + From 2ae3cf2129bea58970e6c93a4e1574a93ee285f2 Mon Sep 17 00:00:00 2001 From: Kiran Kumar Kolli Date: Wed, 11 Sep 2024 13:25:51 -0700 Subject: [PATCH 2/2] Fixing the unit test --- .../Contracts/DirectContractTests.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Contracts/DirectContractTests.cs b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Contracts/DirectContractTests.cs index 2b03a74390..28524c3312 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Contracts/DirectContractTests.cs +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Contracts/DirectContractTests.cs @@ -128,6 +128,8 @@ public void ProjectPackageDependenciesTest() { "Microsoft.Bcl.HashCode", new Version(1, 1, 0) }, { "Azure.Core", new Version(1, 19, 0) }, { "System.Diagnostics.DiagnosticSource", new Version(6, 0, 1) }, + { "System.Net.Http", new Version(4, 3, 4) }, + { "System.Text.RegularExpressions", new Version(4, 3, 1) }, }; Assert.AreEqual(projectDependencies.Count, baselineDependencies.Count);