2023-11-12 10:36:48 +01:00
|
|
|
|
using CodexTests.Helpers;
|
2023-08-24 11:32:32 +02:00
|
|
|
|
using Logging;
|
|
|
|
|
|
|
|
|
|
namespace CodexNetDeployer
|
|
|
|
|
{
|
|
|
|
|
public class PeerConnectivityChecker
|
|
|
|
|
{
|
|
|
|
|
public void CheckConnectivity(List<CodexNodeStartResult> startResults)
|
|
|
|
|
{
|
2023-08-24 15:32:08 +02:00
|
|
|
|
var log = new ConsoleLog();
|
|
|
|
|
var checker = new PeerConnectionTestHelpers(log);
|
2023-09-20 12:02:32 +02:00
|
|
|
|
var nodes = startResults.Select(r => r.CodexNode);
|
2023-08-24 11:32:32 +02:00
|
|
|
|
|
2023-09-20 12:02:32 +02:00
|
|
|
|
checker.AssertFullyConnected(nodes);
|
2023-08-24 11:32:32 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|