mirror of
https://github.com/codex-storage/cs-codex-dist-tests.git
synced 2025-02-10 11:06:42 +00:00
23 lines
633 B
C#
23 lines
633 B
C#
using DistTestCore;
|
|
using NUnit.Framework;
|
|
using Utils;
|
|
|
|
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();
|
|
|
|
CreatePeerDownloadTestHelpers().AssertFullDownloadInterconnectivity(GetAllOnlineCodexNodes(), sizeMBs.MB());
|
|
}
|
|
}
|
|
}
|