From 2883a475425bd288fde13bb576cc2d8a4394d68a Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Fri, 3 Apr 2020 11:20:04 -0700 Subject: [PATCH] Quarantine a hosting test that failed This test failed overnight on linux. The part that failed was checking the exit code of `kill` which is a little surprising. This implies that `kill` itself was also forcibly killed - so we're increasing the timeout before we kill `kill`. :+1: --- src/Hosting/test/FunctionalTests/ShutdownTests.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Hosting/test/FunctionalTests/ShutdownTests.cs b/src/Hosting/test/FunctionalTests/ShutdownTests.cs index 96ba91bcaa..58abe91b33 100644 --- a/src/Hosting/test/FunctionalTests/ShutdownTests.cs +++ b/src/Hosting/test/FunctionalTests/ShutdownTests.cs @@ -32,6 +32,7 @@ namespace Microsoft.AspNetCore.Hosting.FunctionalTests await ExecuteShutdownTest(nameof(ShutdownTestRun), "Run"); } + [QuarantinedTest] [ConditionalFact] [OSSkipCondition(OperatingSystems.Windows)] [OSSkipCondition(OperatingSystems.MacOSX)] @@ -133,7 +134,7 @@ namespace Microsoft.AspNetCore.Hosting.FunctionalTests private static void WaitForExitOrKill(Process process) { - process.WaitForExit(1000); + process.WaitForExit(5 * 1000); if (!process.HasExited) { process.Kill();