Stop tests from hanging if the ASP.NET process fails to exit

This commit is contained in:
Steve Sanderson 2017-11-16 16:50:58 +00:00
parent e491054792
commit 2dda2dd99d
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ namespace Templates.Test.Helpers
if (_process != null && !_process.HasExited) if (_process != null && !_process.HasExited)
{ {
_process.Kill(); _process.Kill();
_process.WaitForExit(); _process.WaitForExit(5000);
} }
} }