From 3da36725e36109fb3bdb13a6cbfb922d5f67fd4c Mon Sep 17 00:00:00 2001 From: benbierens Date: Mon, 3 Jun 2024 10:58:04 +0200 Subject: [PATCH] Updates codex image --- ProjectPlugins/CodexPlugin/CodexContainerRecipe.cs | 2 +- Tests/CodexTests/UtilityTests/ClusterSpeedTests.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ProjectPlugins/CodexPlugin/CodexContainerRecipe.cs b/ProjectPlugins/CodexPlugin/CodexContainerRecipe.cs index 7bc308ac..d060d751 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-267266a-dist-tests"; + private const string DefaultDockerImage = "codexstorage/nim-codex:sha-5e3183a-dist-tests"; public const string ApiPortTag = "codex_api_port"; public const string ListenPortTag = "codex_listen_port"; diff --git a/Tests/CodexTests/UtilityTests/ClusterSpeedTests.cs b/Tests/CodexTests/UtilityTests/ClusterSpeedTests.cs index 9e647eaf..7800e132 100644 --- a/Tests/CodexTests/UtilityTests/ClusterSpeedTests.cs +++ b/Tests/CodexTests/UtilityTests/ClusterSpeedTests.cs @@ -3,7 +3,7 @@ using Logging; using NUnit.Framework; using Utils; -namespace CodexTests.ScalabilityTests +namespace CodexTests.UtilityTests { [TestFixture] public class ClusterDiscSpeedTests : DistTest @@ -18,7 +18,7 @@ namespace CodexTests.ScalabilityTests ) { long targetSize = (long)(1024 * 1024 * 1024) * 2; - long bufferSizeBytes = ((long)bufferSizeKb) * 1024; + long bufferSizeBytes = (long)bufferSizeKb * 1024; var filename = nameof(DiscSpeedTest); @@ -28,7 +28,7 @@ namespace CodexTests.ScalabilityTests var writeSpeed = PerformWrite(targetSize, bufferSizeBytes, filename); Thread.Sleep(2000); var readSpeed = PerformRead(targetSize, bufferSizeBytes, filename); - + Log($"Write speed: {writeSpeed} per second."); Log($"Read speed: {readSpeed} per second."); }