Akka.Remote.Tests.MultiNode.RemoteRestartedQuarantinedMultiNetSpec.RemoteRestartedQuarantinedMultiNetSpec C# (CSharp) Method

RemoteRestartedQuarantinedMultiNetSpec() public method

public RemoteRestartedQuarantinedMultiNetSpec ( ) : System
return System
        public RemoteRestartedQuarantinedMultiNetSpec()
        {
            First = Role("first");
            Second = Role("second");

            CommonConfig = DebugConfig(false).WithFallback(ConfigurationFactory.ParseString(@"
              akka.loglevel = WARNING
              akka.remote.log-remote-lifecycle-events = WARNING

              # Keep it long, we don't want reconnects
              akka.remote.retry-gate-closed-for  = 1 s

              # Important, otherwise it is very racy to get a non-writing endpoint: the only way to do it if the two nodes
              # associate to each other at the same time. Setting this will ensure that the right scenario happens.
              akka.remote.use-passive-connections = off

              # TODO should not be needed, but see TODO at the end of the test
              akka.remote.transport-failure-detector.heartbeat-interval = 1 s
              akka.remote.transport-failure-detector.acceptable-heartbeat-pause = 10 s
            "));

            TestTransport = true;
        }
RemoteRestartedQuarantinedMultiNetSpec