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

18 lines
445 B
C#
Raw Normal View History

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-09-20 10:02:32 +00:00
checker.AssertFullyConnected(nodes);
}
}
}