From e75b23012115810b35ebf8c98eaaa8fefc79d56b 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 cb34636c..002055ca 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 42d1e9d4..b4b754f2 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