Some more test cleanup to not create so many threads. See #3320

This commit is contained in:
Björn Antonsson 2013-05-08 09:42:25 +02:00
parent e02bdeb84b
commit 9c5cc24ba7
66 changed files with 235 additions and 378 deletions

View file

@ -18,7 +18,7 @@ object DispatcherDocSpec {
val javaConfig = """
//#prio-dispatcher-config-java
prio-dispatcher {
mailbox-type = "docs.dispatcher.DispatcherDocTestBase$MyPrioMailbox"
mailbox-type = "docs.dispatcher.DispatcherDocTest$MyPrioMailbox"
//Other dispatcher configuration goes here
}
//#prio-dispatcher-config-java

View file

@ -20,7 +20,11 @@ object RemoteDeploymentDocSpec {
class RemoteDeploymentDocSpec extends AkkaSpec("""
akka.actor.provider = "akka.remote.RemoteActorRefProvider"
akka.remote.netty.tcp.port = 0
akka.remote.netty.tcp {
port = 0
server-socket-worker-pool.pool-size-max = 2
client-socket-worker-pool.pool-size-max = 2
}
""") with ImplicitSender {
import RemoteDeploymentDocSpec._