Akka.Cluster.Tools.Tests.Singleton.ClusterSingletonManagerSpec.ClusterSingletonManager_should_takeover_when_oldest_crashes_in_5_node_cluster C# (CSharp) Метод

ClusterSingletonManager_should_takeover_when_oldest_crashes_in_5_node_cluster() публичный Метод

        public void ClusterSingletonManager_should_takeover_when_oldest_crashes_in_5_node_cluster()
        {
            ClusterSingletonManager_should_handover_when_oldest_leaves_in_6_node_cluster();

            Within(TimeSpan.FromSeconds(60), () =>
            {
                // mute logging of deadLetters during shutdown of systems
                if (!Log.IsDebugEnabled)
                    Sys.EventStream.Publish(new Mute(new DeadLettersFilter(new PredicateMatcher(s => true), new PredicateMatcher(s => true))));
                EnterBarrier("logs-muted");

                Crash(_second);
                VerifyRegistration(_third);
                VerifyMsg(_third, Msg);
                VerifyProxyMsg(_third, _third, Msg);
                VerifyProxyMsg(_third, _fourth, Msg);
                VerifyProxyMsg(_third, _fifth, Msg);
                VerifyProxyMsg(_third, _sixth, Msg);
            });
        }