2023-10-09 14:59:52 +00:00
|
|
|
|
using CodexTests;
|
|
|
|
|
using DistTestCore;
|
2023-07-17 11:47:41 +00:00
|
|
|
|
using NUnit.Framework;
|
2023-09-08 08:21:40 +00:00
|
|
|
|
using Utils;
|
2023-07-17 11:47:41 +00:00
|
|
|
|
|
2023-09-20 08:59:52 +00:00
|
|
|
|
namespace CodexLongTests.DownloadConnectivityTests
|
2023-07-17 11:47:41 +00:00
|
|
|
|
{
|
|
|
|
|
[TestFixture]
|
|
|
|
|
public class LongFullyConnectedDownloadTests : AutoBootstrapDistTest
|
|
|
|
|
{
|
|
|
|
|
[Test]
|
|
|
|
|
[UseLongTimeouts]
|
|
|
|
|
[Combinatorial]
|
|
|
|
|
public void FullyConnectedDownloadTest(
|
|
|
|
|
[Values(10, 15, 20)] int numberOfNodes,
|
|
|
|
|
[Values(10, 100)] int sizeMBs)
|
|
|
|
|
{
|
2024-06-12 13:28:08 +00:00
|
|
|
|
var nodes = StartCodex(numberOfNodes);
|
2023-07-17 11:47:41 +00:00
|
|
|
|
|
2024-06-12 13:28:08 +00:00
|
|
|
|
CreatePeerDownloadTestHelpers().AssertFullDownloadInterconnectivity(nodes, sizeMBs.MB());
|
2023-07-17 11:47:41 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|