mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 15:07:03 +01:00
Look specifically for .net.dmp files in OpenDream test
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using Byond.TopicSender;
|
||||
using Byond.TopicSender;
|
||||
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
@@ -526,7 +526,7 @@ namespace Tgstation.Server.Tests.Live.Instance
|
||||
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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user