public PersistentActorRecoveryTimeoutSpec()
     : base(SteppingMemoryJournal.Config(JournalId).WithFallback(
                ConfigurationFactory.ParseString(
                    @"akka.persistence.journal.stepping-inmem.recovery-event-timeout = 1s
             akka.actor.serialize-messages = off"))
            .WithFallback(Configuration("PersistentActorRecoveryTimeoutSpec")))
 {
     // initialize journal early
     Persistence.Instance.Apply(Sys).JournalFor("akka.persistence.journal.stepping-inmem");
     AwaitAssert(() => SteppingMemoryJournal.GetRef(JournalId), TimeSpan.FromSeconds(3));
     _journal = SteppingMemoryJournal.GetRef(JournalId);
 }
Example #2
0
 public SteppingMemoryPersistentActorStashingSpec()
     : base(SteppingMemoryJournal.Config("persistence-stash").WithFallback(Configuration("SteppingMemoryPersistentActorStashingSpec")))
 {
 }