Add a retry for a check for stopped actors #21122
This commit is contained in:
parent
6cbfed975b
commit
b9da5a76de
1 changed files with 1 additions and 4 deletions
|
|
@ -204,10 +204,7 @@ class ActorsLeakSpec extends AkkaSpec(ActorsLeakSpec.config) with ImplicitSender
|
|||
|
||||
EventFilter[TimeoutException](occurrences = 1).intercept {}
|
||||
|
||||
val finalActors = targets.flatMap(collectLiveActors).toSet
|
||||
|
||||
assertResult(initialActors)(finalActors)
|
||||
|
||||
awaitAssert(assertResult(initialActors)(targets.flatMap(collectLiveActors).toSet), 5.seconds)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue