Akka.Cluster.Tools.Tests.MultiNode.ClusterClient.ClusterClientSpec.ClusterClient_should_startup_cluster C# (CSharp) Method

ClusterClient_should_startup_cluster() public method

public ClusterClient_should_startup_cluster ( ) : void
return void
        public void ClusterClient_should_startup_cluster()
        {
            Within(TimeSpan.FromSeconds(30), () =>
            {
                Join(_first, _first);
                Join(_second, _first);
                Join(_third, _first);
                Join(_fourth, _first);

                RunOn(() =>
                {
                    var service = Sys.ActorOf(Props.Create(() => new TestService(TestActor)), "testService");
                    ClusterClientReceptionist.Get(Sys).RegisterService(service);
                }, _fourth);

                RunOn(() =>
                {
                    AwaitCount(1);
                }, _first, _second, _third, _fourth);
                EnterBarrier("after-1");
            });
        }