From 9a598e5d7738253e298ef4f5f7a797be1b38499b Mon Sep 17 00:00:00 2001 From: martincostello Date: Wed, 10 Jul 2024 14:43:49 +0100 Subject: [PATCH] Re-enable tests Remove workarounds for https://github.com/dotnet/sdk/issues/41541. --- tests/AwsLambdaTestServer.Tests/HttpLambdaTestServerTests.cs | 2 +- tests/AwsLambdaTestServer.Tests/LambdaTestServerTests.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/AwsLambdaTestServer.Tests/HttpLambdaTestServerTests.cs b/tests/AwsLambdaTestServer.Tests/HttpLambdaTestServerTests.cs index 5e86ffe0..72c46611 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(Skip = "https://github.com/dotnet/sdk/issues/41541")] + [Fact] public async Task Function_Can_Handle_Failed_Request() { // Arrange diff --git a/tests/AwsLambdaTestServer.Tests/LambdaTestServerTests.cs b/tests/AwsLambdaTestServer.Tests/LambdaTestServerTests.cs index c8a0f361..ccce556c 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(Skip = "https://github.com/dotnet/sdk/issues/41541")] + [Fact] 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(Skip = "https://github.com/dotnet/sdk/issues/41541")] + [Fact] public async Task Function_Can_Handle_Failed_Initialization() { // Arrange