From dd36929a81f288dffd9997cfec07aed27ad1ee24 Mon Sep 17 00:00:00 2001 From: benbierens Date: Wed, 1 May 2024 13:51:46 +0200 Subject: [PATCH] Sets scalability tests to current codex image --- .../ScalabilityTests/ScalabilityTests.cs | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/Tests/CodexTests/ScalabilityTests/ScalabilityTests.cs b/Tests/CodexTests/ScalabilityTests/ScalabilityTests.cs index 598f0bf..668d26e 100644 --- a/Tests/CodexTests/ScalabilityTests/ScalabilityTests.cs +++ b/Tests/CodexTests/ScalabilityTests/ScalabilityTests.cs @@ -9,9 +9,6 @@ namespace CodexTests.ScalabilityTests; [TestFixture] public class ScalabilityTests : CodexDistTest { - private const string PatchedImage = "codexstorage/nim-codex:sha-9aeac06-dist-tests"; - private const string MasterImage = "codexstorage/nim-codex:sha-5380912-dist-tests"; - /// /// We upload a file to node A, then download it with B. /// Then we stop node A, and download again with node C. @@ -22,12 +19,9 @@ public class ScalabilityTests : CodexDistTest [DontDownloadLogs] public void ShouldMaintainFileInNetwork( [Values(10, 40, 80, 100)] int numberOfNodes, - [Values(100, 1000, 5000, 10000)] int fileSizeInMb, - [Values(true, false)] bool usePatchedImage + [Values(100, 1000, 5000, 10000)] int fileSizeInMb ) { - CodexContainerRecipe.DockerImageOverride = usePatchedImage ? PatchedImage : MasterImage; - var logLevel = CodexLogLevel.Info; var bootstrap = AddCodex(s => s.WithLogLevel(logLevel)); @@ -58,19 +52,15 @@ public class ScalabilityTests : CodexDistTest /// We upload a file to each node, to put a more wide-spread load on the network. /// Then we run the same test as ShouldMaintainFileInNetwork. /// - [Ignore("Make ShouldMaintainFileInNetwork pass reliably first.")] [Test] [Combinatorial] [UseLongTimeouts] [DontDownloadLogs] public void EveryoneGetsAFile( [Values(10, 40, 80, 100)] int numberOfNodes, - [Values(100, 1000)] int fileSizeInMb, - [Values(true, false)] bool usePatchedImage + [Values(100, 1000, 5000, 10000)] int fileSizeInMb ) { - CodexContainerRecipe.DockerImageOverride = usePatchedImage ? PatchedImage : MasterImage; - var logLevel = CodexLogLevel.Info; var bootstrap = AddCodex(s => s.WithLogLevel(logLevel));