Re-enable TestKeepAliveTimeout.

This commit is contained in:
Cesar Blum Silveira 2017-09-07 17:24:33 -07:00 committed by GitHub
parent f0ade24cf7
commit 66d8e8198d
1 changed files with 2 additions and 4 deletions

View File

@ -11,6 +11,7 @@ using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure;
using Microsoft.AspNetCore.Testing;
using Microsoft.AspNetCore.Testing.xunit;
using Xunit;
namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests
{
@ -20,10 +21,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests
private static readonly TimeSpan LongDelay = TimeSpan.FromSeconds(30);
private static readonly TimeSpan ShortDelay = TimeSpan.FromSeconds(LongDelay.TotalSeconds / 10);
// This test is particularly flaky on some teamcity agents, so skip there for now.
// https://github.com/aspnet/KestrelHttpServer/issues/1684
[ConditionalFact]
[EnvironmentVariableSkipCondition("TEAMCITY_VERSION", null)]
[Fact]
public Task TestKeepAliveTimeout()
{
// Delays in these tests cannot be much longer than expected.