Skip to content

Commit

Permalink
Look specifically for .net.dmp files in OpenDream test
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberboss committed Feb 2, 2024
1 parent 00c2ee7 commit 0617d10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Tgstation.Server.Tests/Live/Instance/WatchdogTest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Byond.TopicSender;
using Byond.TopicSender;

using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
Expand Down Expand Up @@ -526,7 +526,7 @@ async Task DumpTests(CancellationToken cancellationToken)
await WaitForJob(dumpJob, 30, false, null, cancellationToken);

var dumpFiles = Directory.GetFiles(Path.Combine(
instanceClient.Metadata.Path, "Diagnostics", "ProcessDumps"), "*.dmp");
instanceClient.Metadata.Path, "Diagnostics", "ProcessDumps"), testVersion.Engine == EngineType.OpenDream ? "*.net.dmp" : "*.dmp");
Assert.AreEqual(1, dumpFiles.Length);
File.Delete(dumpFiles.Single());

Expand Down

0 comments on commit 0617d10

Please sign in to comment.