diff --git a/ProjectPlugins/CodexPlugin/CodexContainerRecipe.cs b/ProjectPlugins/CodexPlugin/CodexContainerRecipe.cs index 564e81a..1d24678 100644 --- a/ProjectPlugins/CodexPlugin/CodexContainerRecipe.cs +++ b/ProjectPlugins/CodexPlugin/CodexContainerRecipe.cs @@ -7,7 +7,7 @@ namespace CodexPlugin { public class CodexContainerRecipe : ContainerRecipeFactory { - private const string DefaultDockerImage = "codexstorage/nim-codex:sha-b89493e-dist-tests"; + private const string DefaultDockerImage = "codexstorage/nim-codex:sha-132c4db-dist-tests"; public const string ApiPortTag = "codex_api_port"; public const string ListenPortTag = "codex_listen_port"; diff --git a/Tests/CodexTests/BasicTests/MarketplaceTests.cs b/Tests/CodexTests/BasicTests/MarketplaceTests.cs index 3f45469..4a0f404 100644 --- a/Tests/CodexTests/BasicTests/MarketplaceTests.cs +++ b/Tests/CodexTests/BasicTests/MarketplaceTests.cs @@ -33,10 +33,9 @@ namespace CodexTests.BasicTests .AsStorageNode() .AsValidator())); - var expectedHostBalance = (numberOfHosts * hostInitialBalance.TstWei).TstWei(); foreach (var host in hosts) { - AssertBalance(contracts, host, Is.EqualTo(expectedHostBalance)); + AssertBalance(contracts, host, Is.EqualTo(hostInitialBalance)); var availability = new StorageAvailability( totalSpace: 10.GB(), diff --git a/Tests/CodexTests/PeerDiscoveryTests/PeerDiscoveryTests.cs b/Tests/CodexTests/PeerDiscoveryTests/PeerDiscoveryTests.cs index 52619dd..938e873 100644 --- a/Tests/CodexTests/PeerDiscoveryTests/PeerDiscoveryTests.cs +++ b/Tests/CodexTests/PeerDiscoveryTests/PeerDiscoveryTests.cs @@ -49,6 +49,8 @@ namespace CodexTests.PeerDiscoveryTests private void AssertAllNodesConnected(IEnumerable nodes) { + nodes = nodes.Concat(new[] { BootstrapNode }).ToArray()!; + CreatePeerConnectionTestHelpers().AssertFullyConnected(nodes); CheckRoutingTable(nodes); } diff --git a/Tests/CodexTests/UtilityTests/DiscordBotTests.cs b/Tests/CodexTests/UtilityTests/DiscordBotTests.cs index c6b6b41..2896dbb 100644 --- a/Tests/CodexTests/UtilityTests/DiscordBotTests.cs +++ b/Tests/CodexTests/UtilityTests/DiscordBotTests.cs @@ -28,6 +28,7 @@ namespace CodexTests.UtilityTests [Test] [DontDownloadLogs] + [Ignore("Used to debug testnet bots.")] public void BotRewardTest() { var geth = Ci.StartGethNode(s => s.IsMiner().WithName("disttest-geth"));