public Cleanup(AkkaSpec spec)
 {
     StorageLocations = new[]
     {
         "akka.persistence.snapshot-store.local.dir"
     }.Select(s => new DirectoryInfo(spec.Sys.Settings.Config.GetString(s))).ToList();
 }
 public Cleanup(AkkaSpec spec)
 {
     StorageLocations = new[]
     {
         "akka.persistence.snapshot-store.local.dir"
     }.Select(s => new DirectoryInfo(spec.Sys.Settings.Config.GetString(s))).ToList();
 }
Exemple #3
0
 public TestSetup(AkkaSpec spec, bool shouldBindServer = true)
 {
     BindOptions       = Enumerable.Empty <Inet.SocketOption>();
     ConnectOptions    = Enumerable.Empty <Inet.SocketOption>();
     _spec             = spec;
     _shouldBindServer = shouldBindServer;
     _bindHandler      = _spec.CreateTestProbe("bind-handler-probe");
 }
Exemple #4
0
 public TestSetup(AkkaSpec spec, bool shouldBindServer = true)
 {
     BindOptions       = Enumerable.Empty <Inet.SocketOption>();
     ConnectOptions    = Enumerable.Empty <Inet.SocketOption>();
     _spec             = spec;
     _shouldBindServer = shouldBindServer;
     _bindHandler      = _spec.CreateTestProbe();
     _endpoint         = TestUtils.TemporaryServerAddress();
 }
 public TestSetup(AkkaSpec spec, bool shouldBindServer = true)
 {
     BindOptions =  Enumerable.Empty<Inet.SocketOption>();
     ConnectOptions = Enumerable.Empty<Inet.SocketOption>(); 
     _spec = spec;
     _shouldBindServer = shouldBindServer;
     _bindHandler = _spec.CreateTestProbe();
     _endpoint = TestUtils.TemporaryServerAddress();
 }
 public TestObserver(AkkaSpec spec)
 {
     _probe = spec.CreateTestProbe();
 }