Skip to content

Commit 8033da1

Browse files
committed
Updates to new Codex image. Fixes tests
1 parent 5afab57 commit 8033da1

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

ProjectPlugins/CodexPlugin/CodexContainerRecipe.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace CodexPlugin
77
{
88
public class CodexContainerRecipe : ContainerRecipeFactory
99
{
10-
private const string DefaultDockerImage = "codexstorage/nim-codex:sha-b89493e-dist-tests";
10+
private const string DefaultDockerImage = "codexstorage/nim-codex:sha-132c4db-dist-tests";
1111

1212
public const string ApiPortTag = "codex_api_port";
1313
public const string ListenPortTag = "codex_listen_port";

Tests/CodexTests/BasicTests/MarketplaceTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@ public void MarketplaceExample()
3333
.AsStorageNode()
3434
.AsValidator()));
3535

36-
var expectedHostBalance = (numberOfHosts * hostInitialBalance.TstWei).TstWei();
3736
foreach (var host in hosts)
3837
{
39-
AssertBalance(contracts, host, Is.EqualTo(expectedHostBalance));
38+
AssertBalance(contracts, host, Is.EqualTo(hostInitialBalance));
4039

4140
var availability = new StorageAvailability(
4241
totalSpace: 10.GB(),

Tests/CodexTests/PeerDiscoveryTests/PeerDiscoveryTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ public void VariableNodes(int number)
4949

5050
private void AssertAllNodesConnected(IEnumerable<ICodexNode> nodes)
5151
{
52+
nodes = nodes.Concat(new[] { BootstrapNode }).ToArray()!;
53+
5254
CreatePeerConnectionTestHelpers().AssertFullyConnected(nodes);
5355
CheckRoutingTable(nodes);
5456
}

Tests/CodexTests/UtilityTests/DiscordBotTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public class DiscordBotTests : AutoBootstrapDistTest
2828

2929
[Test]
3030
[DontDownloadLogs]
31+
[Ignore("Used to debug testnet bots.")]
3132
public void BotRewardTest()
3233
{
3334
var geth = Ci.StartGethNode(s => s.IsMiner().WithName("disttest-geth"));

0 commit comments

Comments
 (0)