예제 #1
0
        public JoinInProgressMultiNodeConfig()
        {
            _first  = Role("first");
            _second = Role("second");

            CommonConfig = MultiNodeLoggingConfig.LoggingConfig.WithFallback(DebugConfig(true)).WithFallback(
                ConfigurationFactory.ParseString(@"
                    akka.stdout-loglevel = DEBUG
                    akka.cluster {
                        # simulate delay in gossip by turning it off
                        gossip-interval = 300 s
                        failure-detector {
                            threshold = 4
                            acceptable-heartbeat-pause = 1 second
                        }
                    }").WithFallback(MultiNodeClusterSpec.ClusterConfig()));
        }
예제 #2
0
        public InitialHeartbeatMultiNodeConfig()
        {
            _controller = Role("controller");
            _first      = Role("first");
            _second     = Role("second");

            CommonConfig = DebugConfig(false)
                           .WithFallback(MultiNodeLoggingConfig.LoggingConfig)
                           .WithFallback(
                ConfigurationFactory.ParseString(@"
                    akka.testconductor.barrier-timeout = 60 s
                    akka.stdout-loglevel = INFO
                    akka.cluster.failure-detector.threshold = 4
                    akka.remote.log-remote-lifecycle-events = on
                    ").WithFallback(MultiNodeClusterSpec.ClusterConfig()));

            TestTransport = true;
        }
예제 #3
0
 public RoleNameComparer(MultiNodeClusterSpec spec)
 {
     _spec = spec;
 }