Moves some of the fully-connected download tests to the long-tests

This commit is contained in:
benbierens 2023-07-17 13:47:41 +02:00
parent 3257e42a02
commit ac33d3c7be
No known key found for this signature in database
GPG Key ID: FE44815D96D0A1AA
2 changed files with 24 additions and 2 deletions

View File

@ -0,0 +1,22 @@
using DistTestCore.Helpers;
using DistTestCore;
using NUnit.Framework;
namespace TestsLong.DownloadConnectivityTests
{
[TestFixture]
public class LongFullyConnectedDownloadTests : AutoBootstrapDistTest
{
[Test]
[UseLongTimeouts]
[Combinatorial]
public void FullyConnectedDownloadTest(
[Values(10, 15, 20)] int numberOfNodes,
[Values(10, 100)] int sizeMBs)
{
for (var i = 0; i < numberOfNodes; i++) SetupCodexNode();
PeerDownloadTestHelpers.AssertFullDownloadInterconnectivity(GetAllOnlineCodexNodes(), sizeMBs.MB());
}
}
}

View File

@ -9,8 +9,8 @@ namespace Tests.DownloadConnectivityTests
[Test]
[Combinatorial]
public void FullyConnectedDownloadTest(
[Values(3, 10, 20)] int numberOfNodes,
[Values(1, 10, 100)] int sizeMBs)
[Values(1, 3, 5)] int numberOfNodes,
[Values(1, 10)] int sizeMBs)
{
for (var i = 0; i < numberOfNodes; i++) SetupCodexNode();