Add a warning about the BYOND pager

This commit is contained in:
Jordan Brown
2020-05-14 13:46:47 -04:00
parent 159ecd98f1
commit 7274e0c01d
@@ -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;