24 lines
645 B
C#
24 lines
645 B
C#
using DistTestCore;
|
|
using NUnit.Framework;
|
|
using Tests;
|
|
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++) AddCodex();
|
|
|
|
CreatePeerDownloadTestHelpers().AssertFullDownloadInterconnectivity(GetAllOnlineCodexNodes(), sizeMBs.MB());
|
|
}
|
|
}
|
|
}
|