2
0
mirror of synced 2025-01-14 02:24:28 +00:00

24 lines
650 B
C#
Raw Normal View History

using CodexTests;
using DistTestCore;
using NUnit.Framework;
2023-09-08 10:21:40 +02:00
using Utils;
2023-09-20 10:59:52 +02:00
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)
{
2023-09-20 10:59:52 +02:00
for (var i = 0; i < numberOfNodes; i++) AddCodex();
2023-08-24 10:59:11 +02:00
CreatePeerDownloadTestHelpers().AssertFullDownloadInterconnectivity(GetAllOnlineCodexNodes(), sizeMBs.MB());
}
}
}