Skip to content

Commit

Permalink
Fix basic watchdog tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberboss committed Nov 20, 2023
1 parent 6967d9f commit 48903b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Tgstation.Server.Tests/Live/TestLiveServer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
Expand Down Expand Up @@ -1280,7 +1280,7 @@ async Task TestTgsInternal(CancellationToken hardCancellationToken)
// uncomment to force this test to run with DummyChatProviders
// missingChatVarsCount = TotalChatVars;

// uncomment to force this test to run with pasic watchdog
// uncomment to force this test to run with basic watchdog
// Environment.SetEnvironmentVariable("General__UseBasicWatchdog", "true");

if (missingChatVarsCount != 0)
Expand Down Expand Up @@ -1586,7 +1586,7 @@ await FailFast(

Assert.AreEqual(connectedChannelCount, topicRequestResult.FloatData.Value);

dd = await WatchdogTest.TellWorldToReboot2(instanceClient, WatchdogTest.StaticTopicClient, mainDDPort, false, cancellationToken);
dd = await WatchdogTest.TellWorldToReboot2(instanceClient, WatchdogTest.StaticTopicClient, mainDDPort, true, cancellationToken);

Assert.AreEqual(WatchdogStatus.Online, dd.Status.Value); // if this assert fails, you likely have to crack open the debugger and read test_fail_reason.txt manually
Assert.IsNull(dd.StagedCompileJob);
Expand Down

0 comments on commit 48903b4

Please sign in to comment.