Re-enable TestKeepAliveTimeout.
This commit is contained in:
parent
f0ade24cf7
commit
66d8e8198d
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue