Merge pull request #17960 from ktoso/wip-additional-test-ktoso

=act,per additional test for onTransition behaviour when initialize() called
This commit is contained in:
Konrad Malawski 2015-07-14 15:51:28 +02:00
commit f9201c7e05
5 changed files with 65 additions and 6 deletions

View file

@ -698,7 +698,7 @@ abstract class PersistentActorSpec(config: Config) extends PersistenceSpec(confi
persistentActor ! GetState
expectMsg(List("a-1", "a-2", "b-10", "b-11", "b-12", "c-10", "c-11", "c-12"))
}
"recover on command failure xoxo" in {
"recover on command failure" in {
val persistentActor = namedPersistentActor[Behavior3PersistentActor]
persistentActor ! Cmd("b")
persistentActor ! "boom"