2
0
mirror of synced 2025-01-10 08:36:13 +00:00
cs-codex-dist-tests/Tools/CodexNetDeployer/PeerConnectivityChecker.cs
2023-09-21 10:33:09 +02:00

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);
}
}
}