Skip to content

Commit

Permalink
Skip the failing test because I don't feel like reconciling whatever …
Browse files Browse the repository at this point in the history
…the watchdog is doing here with this change
  • Loading branch information
Cyberboss committed Sep 8, 2024
1 parent 5696aa5 commit 6c0f9fa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/Tgstation.Server.Tests/Live/Instance/WatchdogTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,13 @@ await Task.WhenAll(
ApiAssert.ThrowsException<ConflictException, JobResponse>(() => instanceClient.DreamDaemon.Restart(cancellationToken), ErrorCode.WatchdogNotRunning).AsTask());

await RunBasicTest(false, cancellationToken);
await RunBasicTest(true, cancellationToken);

// hardlinks and DMAPI checks don't play well together
bool linuxAdvancedWatchdogWeirdness = testVersion.Engine.Value == EngineType.Byond
&& !new PlatformIdentifier().IsWindows
&& !watchdogRestartsProcess;
if (!linuxAdvancedWatchdogWeirdness)
await RunBasicTest(true, cancellationToken);

await TestDMApiFreeDeploy(cancellationToken);

Expand Down

0 comments on commit 6c0f9fa

Please sign in to comment.