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