Skip to content

Commit

Permalink
Find a good version for linux compat tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberboss committed Oct 17, 2023
1 parent 44f51ef commit 356a2c2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions LinuxTestBed
Submodule LinuxTestBed added at 9865a4
22 changes: 11 additions & 11 deletions tests/Tgstation.Server.Tests/Live/TestLiveServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1119,17 +1119,17 @@ async Task RunInstanceTests()
{
// Some earlier linux BYOND versions have a critical bug where replacing the directory in non-basic watchdogs causes the DreamDaemon cwd to change
var canRunCompatTests = new PlatformIdentifier().IsWindows;
var compatTests = canRunCompatTests
? FailFast(
instanceTest
.RunCompatTests(
new Version(510, 1346),
adminClient.Instances.CreateClient(compatInstance),
compatDMPort,
compatDDPort,
server.HighPriorityDreamDaemon,
cancellationToken))
: Task.CompletedTask;
var compatTests = FailFast(
instanceTest
.RunCompatTests(
new PlatformIdentifier().IsWindows
? new Version(510, 1346)
: new Version(512, 1451), // http://www.byond.com/forum/?forum=5&command=search&scope=local&text=resolved%3a512.1451
adminClient.Instances.CreateClient(compatInstance),
compatDMPort,
compatDDPort,
server.HighPriorityDreamDaemon,
cancellationToken));

if (TestingUtils.RunningInGitHubActions) // they only have 2 cores, can't handle intense parallelization
await compatTests;
Expand Down

0 comments on commit 356a2c2

Please sign in to comment.