From 16bf5ce5ab9c3d52ac6cf880320354742a2480b2 Mon Sep 17 00:00:00 2001 From: benbierens Date: Fri, 7 Jun 2024 18:16:19 +0200 Subject: [PATCH] I think I may be on to something --- .../ScalabilityTests/ScalabilityTests.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Tests/CodexLongTests/ScalabilityTests/ScalabilityTests.cs b/Tests/CodexLongTests/ScalabilityTests/ScalabilityTests.cs index 6b6a2dc2..4c9ce65b 100644 --- a/Tests/CodexLongTests/ScalabilityTests/ScalabilityTests.cs +++ b/Tests/CodexLongTests/ScalabilityTests/ScalabilityTests.cs @@ -9,6 +9,12 @@ namespace CodexTests.ScalabilityTests; [TestFixture] public class ScalabilityTests : CodexDistTest { + private const int Below2 = (Int32.MaxValue / (1024 * 1024)) - 20; + private const int Below1 = (Int32.MaxValue / (1024 * 1024)) - 10; + private const int Exact = (Int32.MaxValue / (1024 * 1024)) + 0; + private const int Above1 = (Int32.MaxValue / (1024 * 1024)) + 10; + private const int Above2 = (Int32.MaxValue / (1024 * 1024)) + 20; + /// /// We upload a file to node A, then download it with B. /// Then we stop node A, and download again with node C. @@ -19,8 +25,8 @@ public class ScalabilityTests : CodexDistTest [DontDownloadLogs] [WaitForCleanup] public void ShouldMaintainFileInNetwork( - [Values(10)] int numberOfNodes, // TODO: include 40, 80 and 100 - [Values(5000, 10000)] int fileSizeInMb // TODO: include 100, 1000 + [Values(5)] int numberOfNodes, // TODO: include 10, 40, 80 and 100, not 5 + [Values(Below2, Below1, Exact, Above1, Above2)] int fileSizeInMb // TODO: include 100, 1000, 5000, 10000 ) { var logLevel = CodexLogLevel.Info;