Add messages to Asserts (#2259)

This commit is contained in:
Ryan Brandenburg 2018-01-23 16:25:03 -08:00 committed by Stephen Halter
parent 0b6638668a
commit 1c0cf15b11
1 changed files with 2 additions and 2 deletions

View File

@ -163,9 +163,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests
"",
"");
Assert.True(appRunningEvent.Wait(TimeSpan.FromSeconds(10)));
Assert.True(appRunningEvent.Wait(TimeSpan.FromSeconds(10)), "AppRunningEvent timed out.");
systemClock.UtcNow += gracePeriod + TimeSpan.FromSeconds(1);
Assert.True(exceptionSwallowedEvent.Wait(TimeSpan.FromSeconds(10)));
Assert.True(exceptionSwallowedEvent.Wait(TimeSpan.FromSeconds(10)), "ExceptionSwallowedEvent timed out.");
await connection.Receive(
"HTTP/1.1 200 OK",