From 2bbaa52b08dbbd9cb926fefee8cd209b03c2a18a Mon Sep 17 00:00:00 2001 From: Cesar Blum Silveira Date: Fri, 3 Jun 2016 17:45:06 -0700 Subject: [PATCH] Disable ThreadCountTests on Mac. --- .../ThreadCountTests.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/Microsoft.AspNetCore.Server.Kestrel.FunctionalTests/ThreadCountTests.cs b/test/Microsoft.AspNetCore.Server.Kestrel.FunctionalTests/ThreadCountTests.cs index b185406de6..ebcf01b09a 100644 --- a/test/Microsoft.AspNetCore.Server.Kestrel.FunctionalTests/ThreadCountTests.cs +++ b/test/Microsoft.AspNetCore.Server.Kestrel.FunctionalTests/ThreadCountTests.cs @@ -7,14 +7,16 @@ using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests { public class ThreadCountTests { - [Theory] + [ConditionalTheory] [MemberData(nameof(OneToTen))] + [OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Test failures pending investigation.")] public async Task OneToTenThreads(int threadCount) { var hostBuilder = new WebHostBuilder()