Disable tests that hang after update to CoreFx 4.4.

This commit is contained in:
Cesar Blum Silveira 2016-12-22 18:50:47 -08:00
parent 42297c152b
commit 89ca7ed080
2 changed files with 20 additions and 10 deletions

View File

@ -17,7 +17,8 @@ namespace Microsoft.AspNetCore.Server.WebListener
{
private const string Address = "https://localhost:9090/";
[ConditionalFact(Skip = "TODO: Add trait filtering support so these SSL tests don't get run on teamcity or the command line."), Trait("scheme", "https")]
// Disabled due to SslStream hanging on write after update to CoreFx 4.4 (https://github.com/dotnet/corefx/issues/14698)
//[ConditionalFact(Skip = "TODO: Add trait filtering support so these SSL tests don't get run on teamcity or the command line."), Trait("scheme", "https")]
public async Task Https_200OK_Success()
{
using (Utilities.CreateHttpsServer(httpContext =>
@ -30,7 +31,8 @@ namespace Microsoft.AspNetCore.Server.WebListener
}
}
[ConditionalFact(Skip = "TODO: Add trait filtering support so these SSL tests don't get run on teamcity or the command line."), Trait("scheme", "https")]
// Disabled due to SslStream hanging on write after update to CoreFx 4.4 (https://github.com/dotnet/corefx/issues/14698)
//[ConditionalFact(Skip = "TODO: Add trait filtering support so these SSL tests don't get run on teamcity or the command line."), Trait("scheme", "https")]
public async Task Https_SendHelloWorld_Success()
{
using (Utilities.CreateHttpsServer(httpContext =>
@ -45,7 +47,8 @@ namespace Microsoft.AspNetCore.Server.WebListener
}
}
[ConditionalFact(Skip = "TODO: Add trait filtering support so these SSL tests don't get run on teamcity or the command line."), Trait("scheme", "https")]
// Disabled due to SslStream hanging on write after update to CoreFx 4.4 (https://github.com/dotnet/corefx/issues/14698)
//[ConditionalFact(Skip = "TODO: Add trait filtering support so these SSL tests don't get run on teamcity or the command line."), Trait("scheme", "https")]
public async Task Https_EchoHelloWorld_Success()
{
using (Utilities.CreateHttpsServer(httpContext =>
@ -63,7 +66,8 @@ namespace Microsoft.AspNetCore.Server.WebListener
}
}
[ConditionalFact(Skip = "TODO: Add trait filtering support so these SSL tests don't get run on teamcity or the command line."), Trait("scheme", "https")]
// Disabled due to SslStream hanging on write after update to CoreFx 4.4 (https://github.com/dotnet/corefx/issues/14698)
//[ConditionalFact(Skip = "TODO: Add trait filtering support so these SSL tests don't get run on teamcity or the command line."), Trait("scheme", "https")]
public async Task Https_ClientCertNotSent_ClientCertNotPresent()
{
using (Utilities.CreateHttpsServer(async httpContext =>
@ -80,7 +84,8 @@ namespace Microsoft.AspNetCore.Server.WebListener
}
}
[ConditionalFact(Skip = "TODO: Add trait filtering support so these SSL tests don't get run on teamcity or the command line."), Trait("scheme", "https")]
// Disabled due to SslStream hanging on write after update to CoreFx 4.4 (https://github.com/dotnet/corefx/issues/14698)
//[ConditionalFact(Skip = "TODO: Add trait filtering support so these SSL tests don't get run on teamcity or the command line."), Trait("scheme", "https")]
public async Task Https_ClientCertRequested_ClientCertPresent()
{
using (Utilities.CreateHttpsServer(async httpContext =>

View File

@ -16,7 +16,8 @@ namespace Microsoft.Net.Http.Server
// Note these tests can't use dynamic ports or run concurrently because the ssl cert must be pre-registered with a specific port.
private const string Address = "https://localhost:9090/";
[ConditionalFact(Skip = "TODO: Add trait filtering support so these SSL tests don't get run on teamcity or the command line."), Trait("scheme", "https")]
// Disabled due to SslStream hanging on write after update to CoreFx 4.4 (https://github.com/dotnet/corefx/issues/14698)
//[ConditionalFact(Skip = "TODO: Add trait filtering support so these SSL tests don't get run on teamcity or the command line."), Trait("scheme", "https")]
public async Task Https_200OK_Success()
{
using (var server = Utilities.CreateHttpsServer())
@ -31,7 +32,8 @@ namespace Microsoft.Net.Http.Server
}
}
[ConditionalFact(Skip = "TODO: Add trait filtering support so these SSL tests don't get run on teamcity or the command line."), Trait("scheme", "https")]
// Disabled due to SslStream hanging on write after update to CoreFx 4.4 (https://github.com/dotnet/corefx/issues/14698)
//[ConditionalFact(Skip = "TODO: Add trait filtering support so these SSL tests don't get run on teamcity or the command line."), Trait("scheme", "https")]
public async Task Https_SendHelloWorld_Success()
{
using (var server = Utilities.CreateHttpsServer())
@ -49,7 +51,8 @@ namespace Microsoft.Net.Http.Server
}
}
[ConditionalFact(Skip = "TODO: Add trait filtering support so these SSL tests don't get run on teamcity or the command line."), Trait("scheme", "https")]
// Disabled due to SslStream hanging on write after update to CoreFx 4.4 (https://github.com/dotnet/corefx/issues/14698)
//[ConditionalFact(Skip = "TODO: Add trait filtering support so these SSL tests don't get run on teamcity or the command line."), Trait("scheme", "https")]
public async Task Https_EchoHelloWorld_Success()
{
using (var server = Utilities.CreateHttpsServer())
@ -70,7 +73,8 @@ namespace Microsoft.Net.Http.Server
}
}
[ConditionalFact(Skip = "TODO: Add trait filtering support so these SSL tests don't get run on teamcity or the command line."), Trait("scheme", "https")]
// Disabled due to SslStream hanging on write after update to CoreFx 4.4 (https://github.com/dotnet/corefx/issues/14698)
//[ConditionalFact(Skip = "TODO: Add trait filtering support so these SSL tests don't get run on teamcity or the command line."), Trait("scheme", "https")]
public async Task Https_ClientCertNotSent_ClientCertNotPresent()
{
using (var server = Utilities.CreateHttpsServer())
@ -87,7 +91,8 @@ namespace Microsoft.Net.Http.Server
}
}
[ConditionalFact(Skip = "TODO: Add trait filtering support so these SSL tests don't get run on teamcity or the command line."), Trait("scheme", "https")]
// Disabled due to SslStream hanging on write after update to CoreFx 4.4 (https://github.com/dotnet/corefx/issues/14698)
//[ConditionalFact(Skip = "TODO: Add trait filtering support so these SSL tests don't get run on teamcity or the command line."), Trait("scheme", "https")]
public async Task Https_ClientCertRequested_ClientCertPresent()
{
using (var server = Utilities.CreateHttpsServer())