protected RestartNode2Spec(RestartNode2SpecConfig config) : base(config) { _config = config; seed1System = new Lazy<ActorSystem>(() => ActorSystem.Create(Sys.Name, Sys.Settings.Config)); restartedSeed1System = new Lazy<ActorSystem>( () => ActorSystem.Create(Sys.Name, ConfigurationFactory .ParseString("akka.remote.netty.tcp.port = " + SeedNodes.First().Port) .WithFallback(Sys.Settings.Config))); }
protected RestartNode2Spec(RestartNode2SpecConfig config) : base(config, typeof(RestartNode2Spec)) { _config = config; seed1System = new Lazy <ActorSystem>(() => ActorSystem.Create(Sys.Name, Sys.Settings.Config)); restartedSeed1System = new Lazy <ActorSystem>( () => ActorSystem.Create(Sys.Name, ConfigurationFactory .ParseString("akka.remote.netty.tcp.port = " + SeedNodes.First().Port) .WithFallback(Sys.Settings.Config))); }