2023-06-04 08:59:51 +02:00
|
|
|
|
using DistTestCore;
|
|
|
|
|
using NUnit.Framework;
|
|
|
|
|
|
|
|
|
|
namespace Tests.DownloadConnectivityTests
|
|
|
|
|
{
|
|
|
|
|
[TestFixture]
|
|
|
|
|
public class FullyConnectedDownloadTests : AutoBootstrapDistTest
|
|
|
|
|
{
|
2023-06-06 16:10:30 +02:00
|
|
|
|
[Test]
|
|
|
|
|
[Combinatorial]
|
|
|
|
|
public void FullyConnectedDownloadTest(
|
2023-07-17 13:47:41 +02:00
|
|
|
|
[Values(1, 3, 5)] int numberOfNodes,
|
|
|
|
|
[Values(1, 10)] int sizeMBs)
|
2023-06-04 08:59:51 +02:00
|
|
|
|
{
|
2023-08-24 15:32:08 +02:00
|
|
|
|
SetupCodexNodes(numberOfNodes);
|
2023-06-04 08:59:51 +02:00
|
|
|
|
|
2023-08-24 10:59:11 +02:00
|
|
|
|
CreatePeerDownloadTestHelpers().AssertFullDownloadInterconnectivity(GetAllOnlineCodexNodes(), sizeMBs.MB());
|
2023-06-04 08:59:51 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|