cs-codex-dist-tests/Tests/CodexLongTests/DownloadConnectivityTests/LongFullyConnectedDownloadT...

24 lines
645 B
C#
Raw Normal View History

2023-08-24 08:59:11 +00:00
using DistTestCore;
using NUnit.Framework;
2023-09-20 08:59:52 +00:00
using Tests;
2023-09-08 08:21:40 +00:00
using Utils;
2023-09-20 08:59:52 +00:00
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)
{
2023-09-20 08:59:52 +00:00
for (var i = 0; i < numberOfNodes; i++) AddCodex();
2023-08-24 08:59:11 +00:00
CreatePeerDownloadTestHelpers().AssertFullDownloadInterconnectivity(GetAllOnlineCodexNodes(), sizeMBs.MB());
}
}
}