2023-06-04 06:59:51 +00:00
|
|
|
|
using DistTestCore;
|
|
|
|
|
using NUnit.Framework;
|
|
|
|
|
|
|
|
|
|
namespace Tests.DownloadConnectivityTests
|
|
|
|
|
{
|
|
|
|
|
[TestFixture]
|
|
|
|
|
public class FullyConnectedDownloadTests : AutoBootstrapDistTest
|
|
|
|
|
{
|
2023-06-06 14:10:30 +00:00
|
|
|
|
[Test]
|
|
|
|
|
[Combinatorial]
|
|
|
|
|
public void FullyConnectedDownloadTest(
|
2023-07-17 11:47:41 +00:00
|
|
|
|
[Values(1, 3, 5)] int numberOfNodes,
|
|
|
|
|
[Values(1, 10)] int sizeMBs)
|
2023-06-04 06:59:51 +00:00
|
|
|
|
{
|
|
|
|
|
for (var i = 0; i < numberOfNodes; i++) SetupCodexNode();
|
|
|
|
|
|
2023-06-06 14:10:30 +00:00
|
|
|
|
PeerDownloadTestHelpers.AssertFullDownloadInterconnectivity(GetAllOnlineCodexNodes(), sizeMBs.MB());
|
2023-06-04 06:59:51 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|