From 963f10b559143704231de1c305f57a6c4001ee3b Mon Sep 17 00:00:00 2001 From: costellobot <102549341+costellobot@users.noreply.github.com> Date: Wed, 12 Jun 2024 09:52:08 +0100 Subject: [PATCH] Update .NET SDK to 9.0.100-preview.5.24307.3 (#696) * Update .NET SDK Update .NET SDK to version 9.0.100-preview.5.24307.3. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Bump packages Update NuGet packages for .NET 9 preview 5. * Remove PackageReference Remove redundant package reference. * Fix build Correctly fix the package references. * Remove package reference Remove redundant package reference. * Fix CI Skip tests that cause CI to fail due to dotnet/sdk#41541. --------- Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> Co-authored-by: martincostello --- Directory.Packages.props | 2 +- global.json | 2 +- .../MartinCostello.Testing.AwsLambdaTestServer.csproj | 2 +- tests/AwsLambdaTestServer.Tests/HttpLambdaTestServerTests.cs | 2 +- tests/AwsLambdaTestServer.Tests/LambdaTestServerTests.cs | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 12eced1a..aa34fe60 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -12,7 +12,7 @@ - + diff --git a/global.json b/global.json index da80cf3f..3d2a0848 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "9.0.100-preview.4.24267.66", + "version": "9.0.100-preview.5.24307.3", "allowPrerelease": false } } diff --git a/src/AwsLambdaTestServer/MartinCostello.Testing.AwsLambdaTestServer.csproj b/src/AwsLambdaTestServer/MartinCostello.Testing.AwsLambdaTestServer.csproj index 2b2ff21a..dd150509 100644 --- a/src/AwsLambdaTestServer/MartinCostello.Testing.AwsLambdaTestServer.csproj +++ b/src/AwsLambdaTestServer/MartinCostello.Testing.AwsLambdaTestServer.csproj @@ -24,7 +24,7 @@ - + diff --git a/tests/AwsLambdaTestServer.Tests/HttpLambdaTestServerTests.cs b/tests/AwsLambdaTestServer.Tests/HttpLambdaTestServerTests.cs index 002055ca..cb34636c 100644 --- a/tests/AwsLambdaTestServer.Tests/HttpLambdaTestServerTests.cs +++ b/tests/AwsLambdaTestServer.Tests/HttpLambdaTestServerTests.cs @@ -56,7 +56,7 @@ void Configure(IServiceCollection services) Encoding.UTF8.GetString(response.Content).ShouldBe("""{"Sum":6}"""); } - [Fact] + [Fact(Skip = "https://github.com/dotnet/sdk/issues/41541")] public async Task Function_Can_Handle_Failed_Request() { // Arrange diff --git a/tests/AwsLambdaTestServer.Tests/LambdaTestServerTests.cs b/tests/AwsLambdaTestServer.Tests/LambdaTestServerTests.cs index b4b754f2..42d1e9d4 100644 --- a/tests/AwsLambdaTestServer.Tests/LambdaTestServerTests.cs +++ b/tests/AwsLambdaTestServer.Tests/LambdaTestServerTests.cs @@ -225,7 +225,7 @@ public async Task Function_Can_Process_Request_With_Mobile_Sdk_Headers() response!.IsSuccessful.ShouldBeTrue(); } - [Fact] + [Fact(Skip = "https://github.com/dotnet/sdk/issues/41541")] public async Task Function_Can_Handle_Failed_Request() { // Arrange @@ -251,7 +251,7 @@ public async Task Function_Can_Handle_Failed_Request() response.Content.ShouldNotBeNull(); } - [Fact] + [Fact(Skip = "https://github.com/dotnet/sdk/issues/41541")] public async Task Function_Can_Handle_Failed_Initialization() { // Arrange