mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-26 14:37:44 +01:00
Bookend where the compat tests start and end
This commit is contained in:
@@ -70,13 +70,14 @@ namespace Tgstation.Server.Tests.Live.Instance
|
||||
}
|
||||
|
||||
public async Task RunCompatTests(
|
||||
Version compatVersion,
|
||||
IInstanceClient instanceClient,
|
||||
ushort dmPort,
|
||||
ushort ddPort,
|
||||
bool highPrioDD,
|
||||
CancellationToken cancellationToken)
|
||||
{
|
||||
var compatVersion = new Version(510, 1346);
|
||||
System.Console.WriteLine($"COMPAT TEST START: {compatVersion}");
|
||||
const string Origin = "https://github.com/Cyberboss/common_core";
|
||||
var cloneRequest = instanceClient.Repository.Clone(new RepositoryCreateRequest
|
||||
{
|
||||
@@ -194,6 +195,7 @@ namespace Tgstation.Server.Tests.Live.Instance
|
||||
Id = instanceClient.Metadata.Id,
|
||||
Online = false,
|
||||
}, cancellationToken);
|
||||
System.Console.WriteLine($"COMPAT TEST END: {compatVersion}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1128,6 +1128,7 @@ namespace Tgstation.Server.Tests.Live
|
||||
var compatTests = FailFast(
|
||||
instanceTest
|
||||
.RunCompatTests(
|
||||
new Version(510, 1346),
|
||||
adminClient.Instances.CreateClient(compatInstance),
|
||||
compatDMPort,
|
||||
compatDDPort,
|
||||
|
||||
Reference in New Issue
Block a user