mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-08 00:13:08 +00:00
Updates to latest image
This commit is contained in:
parent
1c9e59a6ea
commit
2ba5a1491a
@ -5,8 +5,8 @@ namespace DistTestCore.Codex
|
|||||||
{
|
{
|
||||||
public class CodexContainerRecipe : ContainerRecipeFactory
|
public class CodexContainerRecipe : ContainerRecipeFactory
|
||||||
{
|
{
|
||||||
//public const string DockerImage = "thatbenbierens/nim-codex:sha-bf5512b";
|
public const string DockerImage = "thatbenbierens/nim-codex:sha-92ea752";
|
||||||
public const string DockerImage = "thatbenbierens/codexlocal:latest";
|
//public const string DockerImage = "thatbenbierens/codexlocal:latest";
|
||||||
public const string MetricsPortTag = "metrics_port";
|
public const string MetricsPortTag = "metrics_port";
|
||||||
|
|
||||||
protected override string Image => DockerImage;
|
protected override string Image => DockerImage;
|
||||||
|
|||||||
@ -48,11 +48,14 @@ namespace Tests.BasicTests
|
|||||||
|
|
||||||
private void AssertKnows(CodexDebugResponse a, CodexDebugResponse b)
|
private void AssertKnows(CodexDebugResponse a, CodexDebugResponse b)
|
||||||
{
|
{
|
||||||
Log.Debug($"Looking for {b.id} in engine-peers [{string.Join(",", a.enginePeers.Select(p => p.peerId))}]");
|
var enginePeers = string.Join(",", a.enginePeers.Select(p => p.peerId));
|
||||||
Log.Debug($"Looking for {b.id} in switch-peers [{string.Join(",", a.switchPeers.Select(p => p.peerId))}]");
|
var switchPeers = string.Join(",", a.switchPeers.Select(p => p.peerId));
|
||||||
|
|
||||||
Assert.That(a.enginePeers.Any(p => p.peerId == b.id), "Expected peerId not found in engine-peers");
|
Log.Debug($"Looking for {b.id} in engine-peers [{enginePeers}]");
|
||||||
Assert.That(a.switchPeers.Any(p => p.peerId == b.id), "Expected peerId not found in switch-peers");
|
Log.Debug($"Looking for {b.id} in switch-peers [{switchPeers}]");
|
||||||
|
|
||||||
|
Assert.That(a.enginePeers.Any(p => p.peerId == b.id), $"Expected peerId '{b.id}' not found in engine-peers [{enginePeers}]");
|
||||||
|
Assert.That(a.switchPeers.Any(p => p.peerId == b.id), $"Expected peerId '{b.id}' not found in switch-peers [{switchPeers}]");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user