Initial stab at DeathWatch 2.0, tests don't pass just yet
This commit is contained in:
parent
2e8d6a8458
commit
96f264e842
13 changed files with 99 additions and 132 deletions
|
|
@ -73,7 +73,7 @@ class RoutingSpec extends AkkaSpec(RoutingSpec.config) with DefaultTimeout with
|
|||
watch(router)
|
||||
watch(c2)
|
||||
system.stop(c2)
|
||||
expectMsg(Terminated(c2))
|
||||
expectMsg(Terminated(c2)(stopped = true))
|
||||
// it might take a while until the Router has actually processed the Terminated message
|
||||
awaitCond {
|
||||
router ! ""
|
||||
|
|
@ -84,7 +84,7 @@ class RoutingSpec extends AkkaSpec(RoutingSpec.config) with DefaultTimeout with
|
|||
res == Seq(c1, c1)
|
||||
}
|
||||
system.stop(c1)
|
||||
expectMsg(Terminated(router))
|
||||
expectMsg(Terminated(router)(stopped = true))
|
||||
}
|
||||
|
||||
"be able to send their routees" in {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue