Merge pull request #1290 from akka/wip-3077-deprecate-isTerminated-√
#3077 - Deprecating ActorRef.isTerminated
This commit is contained in:
commit
0d510ff031
12 changed files with 61 additions and 64 deletions
|
|
@ -115,10 +115,7 @@ class FaultHandlingDocSpec extends AkkaSpec with ImplicitSender {
|
|||
//#stop
|
||||
watch(child) // have testActor watch “child”
|
||||
child ! new IllegalArgumentException // break it
|
||||
expectMsgPF() {
|
||||
case t @ Terminated(`child`) if t.existenceConfirmed ⇒ ()
|
||||
}
|
||||
child.isTerminated must be(true)
|
||||
expectMsgPF() { case Terminated(`child`) ⇒ () }
|
||||
//#stop
|
||||
}
|
||||
EventFilter[Exception]("CRASH", occurrences = 2) intercept {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue