Fixed flaky test

- Increase the interval to avoid chances of overlapping
This commit is contained in:
David Fowler 2017-04-14 19:25:32 -07:00
parent 8cd58b042c
commit 051c251e53
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Tests
public void ExceptionFromHeartbeatHandlerIsLoggedAsError()
{
var systemClock = new MockSystemClock();
var heartbeatInterval = TimeSpan.FromMilliseconds(10);
var heartbeatInterval = TimeSpan.FromSeconds(1);
var heartbeatHandler = new Mock<IHeartbeatHandler>();
var kestrelTrace = new TestKestrelTrace();
var ex = new Exception();