From cc4b4de7d241530378ec247acaa44fee8aa22180 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Sat, 18 Nov 2023 23:31:16 -0500 Subject: [PATCH] Wait for DD proccesses to exit after killing --- tests/Tgstation.Server.Tests/Live/TestLiveServer.cs | 3 +++ 1 file changed, 3 insertions(+) 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)