cs-codex-dist-tests/Tools/CodexNetDeployer/PeerConnectivityChecker.cs

18 lines
445 B
C#

using DistTestCore.Helpers;
using Logging;
namespace CodexNetDeployer
{
public class PeerConnectivityChecker
{
public void CheckConnectivity(List<CodexNodeStartResult> startResults)
{
var log = new ConsoleLog();
var checker = new PeerConnectionTestHelpers(log);
var nodes = startResults.Select(r => r.CodexNode);
checker.AssertFullyConnected(nodes);
}
}
}