=per #18527 fix race condition in async stash test
This commit is contained in:
parent
3b996b80cb
commit
9d576b4eb5
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