#3077 - Deprecating ActorRef.isTerminated
This commit is contained in:
parent
718e2d115c
commit
7b263365aa
12 changed files with 61 additions and 64 deletions
|
|
@ -11,7 +11,7 @@ import akka.testkit.AkkaSpec
|
|||
import akka.event.Logging
|
||||
import akka.event.LoggingAdapter
|
||||
import scala.concurrent.duration._
|
||||
import akka.actor.{ Props, Actor, PoisonPill, ActorSystem }
|
||||
import akka.actor._
|
||||
|
||||
object DispatcherDocSpec {
|
||||
val config = """
|
||||
|
|
@ -227,7 +227,8 @@ class DispatcherDocSpec extends AkkaSpec(DispatcherDocSpec.config) {
|
|||
*/
|
||||
//#prio-dispatcher
|
||||
|
||||
awaitCond(a.isTerminated, 5 seconds)
|
||||
watch(a)
|
||||
expectMsgPF() { case Terminated(`a`) ⇒ () }
|
||||
}
|
||||
|
||||
"defining balancing dispatcher" in {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue