24 lines
652 B
C#
24 lines
652 B
C#
using CodexTests;
|
|
using DistTestCore;
|
|
using NUnit.Framework;
|
|
using Utils;
|
|
|
|
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)
|
|
{
|
|
for (var i = 0; i < numberOfNodes; i++) StartCodex();
|
|
|
|
CreatePeerDownloadTestHelpers().AssertFullDownloadInterconnectivity(GetAllOnlineCodexNodes(), sizeMBs.MB());
|
|
}
|
|
}
|
|
}
|