#19344 Made BackoffSupervisorSpec more robust
This commit is contained in:
parent
9ba5596103
commit
88e3311c38
1 changed files with 5 additions and 2 deletions
|
|
@ -133,8 +133,11 @@ class BackoffSupervisorSpec extends AkkaSpec with ImplicitSender {
|
|||
watch(c1)
|
||||
c1 ! "boom"
|
||||
expectTerminated(c1)
|
||||
supervisor ! BackoffSupervisor.GetRestartCount
|
||||
expectMsg(BackoffSupervisor.RestartCount(1))
|
||||
|
||||
awaitAssert {
|
||||
supervisor ! BackoffSupervisor.GetRestartCount
|
||||
expectMsg(BackoffSupervisor.RestartCount(1))
|
||||
}
|
||||
|
||||
awaitAssert {
|
||||
supervisor ! BackoffSupervisor.GetCurrentChild
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue