Fix basic test not even being given a chance to run

This commit is contained in:
Jordan Dominion
2025-08-04 12:26:59 -04:00
parent 2da57c81da
commit 2a0db24c68
2 changed files with 6 additions and 6 deletions
+4 -1
View File
@@ -60,8 +60,11 @@
sleep(150)
world.log << "Terminating..."
world.TgsEndProcess()
if(world.TgsAvailable())
FailTest("Expected TGS to not let us reach this point")
world.log << "You really shouldn't be able to read this"
del(world)
sleep(1)
/world/Export(url)
log << "Export: [url]"
@@ -754,12 +754,9 @@ namespace Tgstation.Server.Tests.Live.Instance
Assert.AreNotEqual(0, daemonStatus.ImmediateMemoryUsage.Value);
if (skipApiValidation)
{
Assert.IsFalse(daemonStatus.ClientCount.HasValue);
await instanceClient.DreamDaemon.Shutdown(cancellationToken);
}
else
await GracefulWatchdogShutdown(cancellationToken);
await GracefulWatchdogShutdown(cancellationToken);
daemonStatus = await instanceClient.DreamDaemon.Read(cancellationToken);
Assert.AreEqual(WatchdogStatus.Offline, daemonStatus.Status.Value);