Exemplo n.º 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();
 }
Exemplo n.º 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();
 }
Exemplo n.º 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");
 }
Exemplo n.º 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();
 }
Exemplo n.º 5
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();
 }
Exemplo n.º 6
0
 public TestObserver(AkkaSpec spec)
 {
     _probe = spec.CreateTestProbe();
 }