From 1a103e5f62e77bd32a98e3d6c1cc03841ffd6362 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Tue, 5 May 2020 18:09:23 -0400 Subject: [PATCH] Fix watchdog test --- tests/Tgstation.Server.Tests/Instance/WatchdogTest.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Tgstation.Server.Tests/Instance/WatchdogTest.cs b/tests/Tgstation.Server.Tests/Instance/WatchdogTest.cs index 4e862284f7..8805f90fd8 100644 --- a/tests/Tgstation.Server.Tests/Instance/WatchdogTest.cs +++ b/tests/Tgstation.Server.Tests/Instance/WatchdogTest.cs @@ -130,10 +130,11 @@ namespace Tgstation.Server.Tests.Instance const string DmeName = "LongRunning/long_running_test"; - var daemonStatus = await DeployTestDme(DmeName, DreamDaemonSecurity.Safe, cancellationToken); + await DeployTestDme(DmeName, DreamDaemonSecurity.Safe, cancellationToken); await WaitForJob(startJob, 40, false, cancellationToken); + var daemonStatus = await instanceClient.DreamDaemon.Read(cancellationToken); Assert.IsTrue(daemonStatus.Running.Value); Assert.IsNotNull(daemonStatus.ActiveCompileJob); if (new PlatformIdentifier().IsWindows)