From 1c0cf15b119c053d8db754fd8688c50655de8ce8 Mon Sep 17 00:00:00 2001 From: Ryan Brandenburg Date: Tue, 23 Jan 2018 16:25:03 -0800 Subject: [PATCH] Add messages to Asserts (#2259) --- test/Kestrel.FunctionalTests/RequestBodyTimeoutTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Kestrel.FunctionalTests/RequestBodyTimeoutTests.cs b/test/Kestrel.FunctionalTests/RequestBodyTimeoutTests.cs index a9593afe79..44c7366067 100644 --- a/test/Kestrel.FunctionalTests/RequestBodyTimeoutTests.cs +++ b/test/Kestrel.FunctionalTests/RequestBodyTimeoutTests.cs @@ -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",