This commit is contained in:
Ben 2024-07-23 09:58:29 +02:00
parent 1f11c5d6b5
commit af7aeb2bba
No known key found for this signature in database
GPG Key ID: 0F16E812E736C24B
4 changed files with 7 additions and 5 deletions

View File

@ -7,7 +7,7 @@ namespace CodexPlugin
{ {
public class CodexContainerRecipe : ContainerRecipeFactory public class CodexContainerRecipe : ContainerRecipeFactory
{ {
private const string DefaultDockerImage = "codexstorage/nim-codex:sha-471ebb2-dist-tests"; private const string DefaultDockerImage = "codexstorage/nim-codex:sha-64b82de-dist-tests";
public const string ApiPortTag = "codex_api_port"; public const string ApiPortTag = "codex_api_port";
public const string ListenPortTag = "codex_listen_port"; public const string ListenPortTag = "codex_listen_port";

View File

@ -13,7 +13,7 @@ namespace DistTestCore
[Parallelizable(ParallelScope.All)] [Parallelizable(ParallelScope.All)]
public abstract class DistTest public abstract class DistTest
{ {
private const string TestNamespacePrefix = "ct-"; private const string TestNamespacePrefix = "cdx-";
private readonly Configuration configuration = new Configuration(); private readonly Configuration configuration = new Configuration();
private readonly Assembly[] testAssemblies; private readonly Assembly[] testAssemblies;
private readonly FixtureLog fixtureLog; private readonly FixtureLog fixtureLog;

View File

@ -55,6 +55,8 @@ public static class Program
await Task.Delay(delayPerPurchaser); await Task.Delay(delayPerPurchaser);
} }
cancellationToken.WaitHandle.WaitOne();
log.Log("Done."); log.Log("Done.");
} }

View File

@ -12,19 +12,19 @@ namespace AutoClient
private readonly HttpClient client; private readonly HttpClient client;
private readonly Address address; private readonly Address address;
private readonly CodexApi codex; private readonly CodexApi codex;
private readonly CancellationToken ct;
private readonly Configuration config; private readonly Configuration config;
private readonly ImageGenerator generator; private readonly ImageGenerator generator;
private readonly CancellationToken ct;
public Purchaser(ILog log, HttpClient client, Address address, CodexApi codex, CancellationToken ct, Configuration config, ImageGenerator generator) public Purchaser(ILog log, HttpClient client, Address address, CodexApi codex, Configuration config, ImageGenerator generator, CancellationToken ct)
{ {
this.log = log; this.log = log;
this.client = client; this.client = client;
this.address = address; this.address = address;
this.codex = codex; this.codex = codex;
this.ct = ct;
this.config = config; this.config = config;
this.generator = generator; this.generator = generator;
this.ct = ct;
} }
public void Start() public void Start()