2023-08-24 08:59:11 +00:00
|
|
|
|
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
|
|
|
|
|
|
|
|
|
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();
|
|
|
|
|
|
2023-08-24 08:59:11 +00:00
|
|
|
|
CreatePeerDownloadTestHelpers().AssertFullDownloadInterconnectivity(GetAllOnlineCodexNodes(), sizeMBs.MB());
|
2023-07-17 11:47:41 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|