From b22368086becd526e59da65aa6dc71a65d3f8d6a Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Sat, 21 Oct 2023 20:40:04 -0400 Subject: [PATCH] Additional test logging --- tests/Tgstation.Server.Tests/Live/Instance/WatchdogTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Tgstation.Server.Tests/Live/Instance/WatchdogTest.cs b/tests/Tgstation.Server.Tests/Live/Instance/WatchdogTest.cs index b59e9532fe..784fce5f67 100644 --- a/tests/Tgstation.Server.Tests/Live/Instance/WatchdogTest.cs +++ b/tests/Tgstation.Server.Tests/Live/Instance/WatchdogTest.cs @@ -502,7 +502,7 @@ namespace Tgstation.Server.Tests.Live.Instance var path = sb.ToString(); - allPaths.Add(path); + allPaths.Add($"Path: {path}"); if (path.Contains($"Game/{previousStatus.DirectoryName}")) failingLinks.Add($"Found fd {fd} resolving to previous absolute path game dir path: {path}"); @@ -516,7 +516,7 @@ namespace Tgstation.Server.Tests.Live.Instance if (!foundLivePath) failingLinks.Add($"Failed to find a path containing the 'Live' directory!"); - Assert.IsTrue(failingLinks.Count == 0, String.Join(Environment.NewLine, failingLinks)); + Assert.IsTrue(failingLinks.Count == 0, String.Join(Environment.NewLine, failingLinks.Concat(allPaths))); } async Task RunHealthCheckTest(bool checkDump, CancellationToken cancellationToken)