From 12f5576d59372eaea4c18d94a28fc00a31ae6b1c Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Tue, 5 May 2020 17:22:44 -0400 Subject: [PATCH] AHHHHHHHHHHHHHHH --- tests/Tgstation.Server.Tests/Instance/WatchdogTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Tgstation.Server.Tests/Instance/WatchdogTest.cs b/tests/Tgstation.Server.Tests/Instance/WatchdogTest.cs index dc625e6e7b..4e862284f7 100644 --- a/tests/Tgstation.Server.Tests/Instance/WatchdogTest.cs +++ b/tests/Tgstation.Server.Tests/Instance/WatchdogTest.cs @@ -136,10 +136,10 @@ namespace Tgstation.Server.Tests.Instance Assert.IsTrue(daemonStatus.Running.Value); Assert.IsNotNull(daemonStatus.ActiveCompileJob); - Assert.IsNotNull(daemonStatus.StagedCompileJob); if (new PlatformIdentifier().IsWindows) { // basic watchdog won't do this because it reboots instantly + Assert.IsNotNull(daemonStatus.StagedCompileJob); Assert.AreNotEqual(daemonStatus.ActiveCompileJob.ByondVersion, daemonStatus.StagedCompileJob.ByondVersion); Assert.AreEqual(versionToInstall, daemonStatus.StagedCompileJob.ByondVersion); Assert.AreEqual(true, daemonStatus.SoftRestart);