mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 16:39:21 +01:00
Fix overeager required process killing
This commit is contained in:
@@ -1137,9 +1137,11 @@ namespace Tgstation.Server.Tests.Live.Instance
|
||||
Assert.AreEqual(ddPort, daemonStatus.CurrentPort);
|
||||
|
||||
// Try killing the DD process to ensure it gets set to the restoring state
|
||||
bool firstTime = true;
|
||||
do
|
||||
{
|
||||
KillDD(true);
|
||||
KillDD(firstTime);
|
||||
firstTime = false;
|
||||
await Task.Delay(TimeSpan.FromSeconds(1), cancellationToken);
|
||||
daemonStatus = await instanceClient.DreamDaemon.Read(cancellationToken);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user