remove fallback to default-dispatcher, see #3394
This commit is contained in:
parent
58756be937
commit
f802c94b9b
10 changed files with 86 additions and 36 deletions
|
|
@ -265,7 +265,7 @@ class ActorDocSpec extends AkkaSpec(Map("akka.loglevel" -> "INFO")) {
|
|||
|
||||
// ActorSystem is a heavy object: create only one per application
|
||||
val system = ActorSystem("mySystem")
|
||||
val myActor = system.actorOf(Props[MyActor].withDispatcher("my-dispatcher"), "myactor2")
|
||||
val myActor = system.actorOf(Props[MyActor], "myactor2")
|
||||
//#system-actorOf
|
||||
shutdown(system)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,10 @@ object RouterDocSpec {
|
|||
}
|
||||
}
|
||||
|
||||
class RouterDocSpec extends AkkaSpec {
|
||||
class RouterDocSpec extends AkkaSpec("""
|
||||
router {}
|
||||
workers {}
|
||||
""") {
|
||||
|
||||
import RouterDocSpec._
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue