From d68f8165e19934ddb66bf61fcf2c74212de42293 Mon Sep 17 00:00:00 2001 From: Cesar Blum Silveira Date: Fri, 4 Aug 2017 17:45:07 -0700 Subject: [PATCH] Disable test ConnectionClosedWhenResponseDoesNotSatisfyMinimumDataRate on Linux. --- test/Kestrel.FunctionalTests/ResponseTests.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/Kestrel.FunctionalTests/ResponseTests.cs b/test/Kestrel.FunctionalTests/ResponseTests.cs index 7f26aec3bf..d0a4b3deef 100644 --- a/test/Kestrel.FunctionalTests/ResponseTests.cs +++ b/test/Kestrel.FunctionalTests/ResponseTests.cs @@ -25,6 +25,7 @@ using Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure; using Microsoft.AspNetCore.Server.Kestrel.Https; using Microsoft.AspNetCore.Server.Kestrel.Https.Internal; using Microsoft.AspNetCore.Testing; +using Microsoft.AspNetCore.Testing.xunit; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Primitives; @@ -2443,7 +2444,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests } } - [Fact] + [ConditionalFact] + [OSSkipCondition(OperatingSystems.Linux, SkipReason = "Flaky test (https://github.com/aspnet/KestrelHttpServer/issues/1955)")] public async Task ConnectionClosedWhenResponseDoesNotSatisfyMinimumDataRate() { var chunkSize = 64 * 1024;