From 7274e0c01dbd85f73dde3ce1782400527ee8f4c2 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Thu, 14 May 2020 13:46:47 -0400 Subject: [PATCH] Add a warning about the BYOND pager --- tests/Tgstation.Server.Tests/IntegrationTest.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/Tgstation.Server.Tests/IntegrationTest.cs b/tests/Tgstation.Server.Tests/IntegrationTest.cs index 20c2d76df0..fd6fb1ce63 100644 --- a/tests/Tgstation.Server.Tests/IntegrationTest.cs +++ b/tests/Tgstation.Server.Tests/IntegrationTest.cs @@ -106,6 +106,14 @@ namespace Tgstation.Server.Tests [TestMethod] public async Task TestServer() { + var procs = System.Diagnostics.Process.GetProcessesByName("byond"); + if(procs.Any()) + { + foreach (var proc in procs) + proc.Dispose(); + Assert.Inconclusive("Cannot run server test because DreamDaemon will not start headless while the BYOND pager is running!"); + } + using var server = new TestingServer(); using var serverCts = new CancellationTokenSource(); var cancellationToken = serverCts.Token;