Skip flaky test

This commit is contained in:
Ryan Brandenburg 2018-02-02 15:53:22 -08:00
parent ca15840d05
commit 8c328edfb2
1 changed files with 5 additions and 5 deletions

View File

@ -335,7 +335,7 @@ namespace Microsoft.AspNetCore.Razor.Tools
/// <summary> /// <summary>
/// Ensure server respects keep alive and shuts down after processing simultaneous connections. /// Ensure server respects keep alive and shuts down after processing simultaneous connections.
/// </summary> /// </summary>
[Fact] [Fact(Skip = "https://github.com/aspnet/Razor/issues/2018")]
public async Task Dispatcher_ProcessSimultaneousConnections_HitsKeepAliveTimeout() public async Task Dispatcher_ProcessSimultaneousConnections_HitsKeepAliveTimeout()
{ {
// Arrange // Arrange
@ -389,8 +389,8 @@ namespace Microsoft.AspNetCore.Razor.Tools
// Assert // Assert
Assert.Equal(totalCount, eventBus.CompletedCount); Assert.Equal(totalCount, eventBus.CompletedCount);
Assert.True(eventBus.LastProcessedTime.HasValue); Assert.True(eventBus.LastProcessedTime.HasValue, "LastProcessedTime should have had a value.");
Assert.True(eventBus.HitKeepAliveTimeout); Assert.True(eventBus.HitKeepAliveTimeout, "HitKeepAliveTimeout should have been hit.");
} }
[Fact] [Fact]