Disable ThreadCountTests on Mac.

This commit is contained in:
Cesar Blum Silveira 2016-06-03 17:45:06 -07:00
parent 17a41597a6
commit 2bbaa52b08
1 changed files with 3 additions and 1 deletions

View File

@ -7,14 +7,16 @@ using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Testing.xunit;
using Xunit; using Xunit;
namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests
{ {
public class ThreadCountTests public class ThreadCountTests
{ {
[Theory] [ConditionalTheory]
[MemberData(nameof(OneToTen))] [MemberData(nameof(OneToTen))]
[OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Test failures pending investigation.")]
public async Task OneToTenThreads(int threadCount) public async Task OneToTenThreads(int threadCount)
{ {
var hostBuilder = new WebHostBuilder() var hostBuilder = new WebHostBuilder()