From a13339dd5c11e82a2aef234f8115a2deffa6192a Mon Sep 17 00:00:00 2001 From: Stephen Halter Date: Thu, 17 May 2018 11:54:58 -0700 Subject: [PATCH] Re-enable ConnectionCountingReturnsToZero on non-macOS machines (#2585) --- test/Kestrel.FunctionalTests/ConnectionLimitTests.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/Kestrel.FunctionalTests/ConnectionLimitTests.cs b/test/Kestrel.FunctionalTests/ConnectionLimitTests.cs index 3aa1ad90f5..1a93a8d5c8 100644 --- a/test/Kestrel.FunctionalTests/ConnectionLimitTests.cs +++ b/test/Kestrel.FunctionalTests/ConnectionLimitTests.cs @@ -12,6 +12,7 @@ using Microsoft.AspNetCore.Server.Kestrel.Core.Internal; using Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure; using Microsoft.AspNetCore.Server.Kestrel.Tests; using Microsoft.AspNetCore.Testing; +using Microsoft.AspNetCore.Testing.xunit; using Microsoft.Extensions.Logging.Testing; using Xunit; @@ -134,7 +135,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests } } - [Fact(Skip = "https://github.com/aspnet/KestrelHttpServer/issues/2282")] + [Fact] + [OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "https://github.com/aspnet/KestrelHttpServer/issues/2282")] public async Task ConnectionCountingReturnsToZero() { const int count = 100;