2
0
mirror of synced 2025-01-12 17:44:08 +00:00
2023-10-09 16:59:52 +02:00

24 lines
650 B
C#

using CodexTests;
using DistTestCore;
using NUnit.Framework;
using Utils;
namespace CodexLongTests.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++) AddCodex();
CreatePeerDownloadTestHelpers().AssertFullDownloadInterconnectivity(GetAllOnlineCodexNodes(), sizeMBs.MB());
}
}
}