use extra log codex image

This commit is contained in:
benbierens 2023-08-08 09:44:38 +02:00
parent ab42fa8004
commit 598dc766fa
No known key found for this signature in database
GPG Key ID: FE44815D96D0A1AA
3 changed files with 4 additions and 4 deletions

View File

@ -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";

View File

@ -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));

View File

@ -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())
));
}