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:
commit
df47748ecd
1 changed files with 6 additions and 2 deletions
|
|
@ -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"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue