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