diff --git a/tests/Tgstation.Server.Tests/Live/TestLiveServer.cs b/tests/Tgstation.Server.Tests/Live/TestLiveServer.cs index d35435d4ae..1afece3b7a 100644 --- a/tests/Tgstation.Server.Tests/Live/TestLiveServer.cs +++ b/tests/Tgstation.Server.Tests/Live/TestLiveServer.cs @@ -104,7 +104,10 @@ namespace Tgstation.Server.Tests.Live { foreach (var proc in GetDDProcessesOnPort(null)) using (proc) + { proc.Kill(); + proc.WaitForExit(); + } } static ushort FreeTcpPort(params ushort[] usedPorts)