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

18 lines
443 B
C#
Raw Normal View History

2023-11-12 09:36:48 +00:00
using CodexTests.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);
}
}
}