From e6615e043b6878a0c2ed8bf0502c377f659b0d28 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Sat, 14 Oct 2023 13:24:40 -0400 Subject: [PATCH] Don't reuse compat ports for OD in Live test --- tests/Tgstation.Server.Tests/Live/TestLiveServer.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/Tgstation.Server.Tests/Live/TestLiveServer.cs b/tests/Tgstation.Server.Tests/Live/TestLiveServer.cs index 82613f6a3e..ce996244dd 100644 --- a/tests/Tgstation.Server.Tests/Live/TestLiveServer.cs +++ b/tests/Tgstation.Server.Tests/Live/TestLiveServer.cs @@ -55,6 +55,8 @@ namespace Tgstation.Server.Tests.Live static readonly ushort mainDMPort = FreeTcpPort(mainDDPort); static readonly ushort compatDMPort = FreeTcpPort(mainDDPort, mainDMPort); static readonly ushort compatDDPort = FreeTcpPort(mainDDPort, mainDMPort, compatDMPort); + static readonly ushort odDMPort = FreeTcpPort(mainDDPort, mainDMPort, compatDMPort, compatDDPort); + static readonly ushort odDDPort = FreeTcpPort(mainDDPort, mainDMPort, compatDMPort, compatDDPort, odDMPort); readonly ServerClientFactory clientFactory = new (new ProductHeaderValue(Assembly.GetExecutingAssembly().GetName().Name, Assembly.GetExecutingAssembly().GetName().Version.ToString())); @@ -1144,8 +1146,8 @@ namespace Tgstation.Server.Tests.Live .RunCompatTests( await ByondTest.GetEdgeVersion(EngineType.OpenDream, fileDownloader, cancellationToken), adminClient.Instances.CreateClient(compatInstance), - compatDMPort, - compatDDPort, + odDMPort, + odDDPort, server.HighPriorityDreamDaemon, cancellationToken)) : Task.CompletedTask;