From 598dc766fab7c802c8c95e0b011b5cd786cd9c7e Mon Sep 17 00:00:00 2001 From: benbierens Date: Tue, 8 Aug 2023 09:44:38 +0200 Subject: [PATCH] use extra log codex image --- DistTestCore/Codex/CodexContainerRecipe.cs | 2 +- DistTestCore/OnlineCodexNode.cs | 4 ++-- Tests/BasicTests/ContinuousSubstitute.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DistTestCore/Codex/CodexContainerRecipe.cs b/DistTestCore/Codex/CodexContainerRecipe.cs index ea6f187..08bad80 100644 --- a/DistTestCore/Codex/CodexContainerRecipe.cs +++ b/DistTestCore/Codex/CodexContainerRecipe.cs @@ -5,7 +5,7 @@ namespace DistTestCore.Codex { public class CodexContainerRecipe : ContainerRecipeFactory { - private const string DefaultDockerImage = "codexstorage/nim-codex:sha-7efa917"; + private const string DefaultDockerImage = "thatbenbierens/nim-codex:updownload"; public const string MetricsPortTag = "metrics_port"; public const string DiscoveryPortTag = "discovery-port"; diff --git a/DistTestCore/OnlineCodexNode.cs b/DistTestCore/OnlineCodexNode.cs index b634ff5..572cb9f 100644 --- a/DistTestCore/OnlineCodexNode.cs +++ b/DistTestCore/OnlineCodexNode.cs @@ -67,7 +67,7 @@ namespace DistTestCore { using var fileStream = File.OpenRead(file.Filename); - var logMessage = $"{CodexAccess.Container.Name} Uploading file {file.Describe()}..."; + var logMessage = $"Uploading file {file.Describe()}..."; Log(logMessage); var response = Stopwatch.Measure(lifecycle.Log, logMessage, () => { @@ -83,7 +83,7 @@ namespace DistTestCore public TestFile? DownloadContent(ContentId contentId, string fileLabel = "") { - var logMessage = $"{CodexAccess.Container.Name} Downloading for contentId: '{contentId.Id}'..."; + var logMessage = $"Downloading for contentId: '{contentId.Id}'..."; Log(logMessage); var file = lifecycle.FileManager.CreateEmptyTestFile(fileLabel); Stopwatch.Measure(lifecycle.Log, logMessage, () => DownloadToFile(contentId.Id, file)); diff --git a/Tests/BasicTests/ContinuousSubstitute.cs b/Tests/BasicTests/ContinuousSubstitute.cs index e589df0..324b3d7 100644 --- a/Tests/BasicTests/ContinuousSubstitute.cs +++ b/Tests/BasicTests/ContinuousSubstitute.cs @@ -16,7 +16,7 @@ namespace Tests.BasicTests { nodes.Add((OnlineCodexNode)SetupCodexNode(o => o .EnableMarketplace(100000.TestTokens(), 0.Eth(), isValidator: i < 2) - .WithStorageQuota(2.GB()) + .WithStorageQuota(3.GB()) )); }