Example #1
0
 public Cleanup(AkkaSpec spec)
 {
     StorageLocations = new[]
     {
         "akka.persistence.snapshot-store.local.dir"
     }.Select(s => new DirectoryInfo(spec.Sys.Settings.Config.GetString(s))).ToList();
 }
Example #2
0
 public Cleanup(AkkaSpec spec)
 {
     StorageLocations = new[]
     {
         "akka.persistence.snapshot-store.local.dir"
     }.Select(s => new DirectoryInfo(spec.Sys.Settings.Config.GetString(s))).ToList();
 }
Example #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");
 }
Example #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();
 }