From f0167a800f8d7c3792de9201ab1e10f9f304d807 Mon Sep 17 00:00:00 2001 From: benbierens Date: Tue, 27 Feb 2024 13:55:05 +0100 Subject: [PATCH] Speed up basic tests --- .../DownloadConnectivityTests/FullyConnectedDownloadTests.cs | 4 ++-- Tests/CodexTests/PeerDiscoveryTests/LayeredDiscoveryTests.cs | 1 - Tests/CodexTests/PeerDiscoveryTests/PeerDiscoveryTests.cs | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Tests/CodexTests/DownloadConnectivityTests/FullyConnectedDownloadTests.cs b/Tests/CodexTests/DownloadConnectivityTests/FullyConnectedDownloadTests.cs index 0acd7804..b4762b99 100644 --- a/Tests/CodexTests/DownloadConnectivityTests/FullyConnectedDownloadTests.cs +++ b/Tests/CodexTests/DownloadConnectivityTests/FullyConnectedDownloadTests.cs @@ -29,8 +29,8 @@ namespace CodexTests.DownloadConnectivityTests [Test] [Combinatorial] public void FullyConnectedDownloadTest( - [Values(3, 5)] int numberOfNodes, - [Values(10, 80)] int sizeMBs) + [Values(2, 5)] int numberOfNodes, + [Values(1, 10)] int sizeMBs) { AddCodex(numberOfNodes); diff --git a/Tests/CodexTests/PeerDiscoveryTests/LayeredDiscoveryTests.cs b/Tests/CodexTests/PeerDiscoveryTests/LayeredDiscoveryTests.cs index 4c8a3b3b..386c3d83 100644 --- a/Tests/CodexTests/PeerDiscoveryTests/LayeredDiscoveryTests.cs +++ b/Tests/CodexTests/PeerDiscoveryTests/LayeredDiscoveryTests.cs @@ -32,7 +32,6 @@ namespace CodexTests.PeerDiscoveryTests [TestCase(3)] [TestCase(5)] [TestCase(10)] - [TestCase(20)] public void NodeChainTest(int chainLength) { var node = Ci.StartCodexNode(); diff --git a/Tests/CodexTests/PeerDiscoveryTests/PeerDiscoveryTests.cs b/Tests/CodexTests/PeerDiscoveryTests/PeerDiscoveryTests.cs index e080faa4..10c1cde7 100644 --- a/Tests/CodexTests/PeerDiscoveryTests/PeerDiscoveryTests.cs +++ b/Tests/CodexTests/PeerDiscoveryTests/PeerDiscoveryTests.cs @@ -39,7 +39,6 @@ namespace CodexTests.PeerDiscoveryTests [TestCase(2)] [TestCase(3)] [TestCase(10)] - [TestCase(20)] public void VariableNodes(int number) { AddCodex(number);