2023-08-24 08:59:11 +00:00
|
|
|
|
using DistTestCore;
|
2023-07-17 11:47:41 +00:00
|
|
|
|
using NUnit.Framework;
|
2023-09-20 08:59:52 +00:00
|
|
|
|
using Tests;
|
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)
|
|
|
|
|
{
|
2023-09-20 08:59:52 +00:00
|
|
|
|
for (var i = 0; i < numberOfNodes; i++) AddCodex();
|
2023-07-17 11:47:41 +00:00
|
|
|
|
|
2023-08-24 08:59:11 +00:00
|
|
|
|
CreatePeerDownloadTestHelpers().AssertFullDownloadInterconnectivity(GetAllOnlineCodexNodes(), sizeMBs.MB());
|
2023-07-17 11:47:41 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|