mirror of
https://github.com/codex-storage/cs-codex-dist-tests.git
synced 2025-02-10 19:16:46 +00:00
21 lines
573 B
C#
21 lines
573 B
C#
using DistTestCore;
|
|
using NUnit.Framework;
|
|
|
|
namespace Tests.DownloadConnectivityTests
|
|
{
|
|
[TestFixture]
|
|
public class FullyConnectedDownloadTests : AutoBootstrapDistTest
|
|
{
|
|
[Test]
|
|
[Combinatorial]
|
|
public void FullyConnectedDownloadTest(
|
|
[Values(1, 3, 5)] int numberOfNodes,
|
|
[Values(1, 10)] int sizeMBs)
|
|
{
|
|
for (var i = 0; i < numberOfNodes; i++) SetupCodexNode();
|
|
|
|
PeerDownloadTestHelpers.AssertFullDownloadInterconnectivity(GetAllOnlineCodexNodes(), sizeMBs.MB());
|
|
}
|
|
}
|
|
}
|