Stop tests from hanging if the ASP.NET process fails to exit
This commit is contained in:
parent
e491054792
commit
2dda2dd99d
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue