Merge pull request #18538 from johanandren/wip-18527-failing-async-stash-persistent-actor-johanandren

=per #18527 fix race condition in async stash test
This commit is contained in:
Patrik Nordwall 2015-09-29 17:24:22 +02:00
commit df47748ecd

View file

@ -163,8 +163,12 @@ class SteppingInMemPersistentActorStashingSpec extends PersistenceSpec(
SteppingInmemJournal.step(journal)
SteppingInmemJournal.step(journal)
persistentActor ! GetState
expectMsg(List("a", "c", "b"))
within(3.seconds) {
awaitAssert {
persistentActor ! GetState
expectMsg(List("a", "c", "b"))
}
}
}
}