Skip to content

Commit

Permalink
2: Router: no multiline tokens in extends/with chains
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert Meltzer committed Jun 8, 2020
1 parent 4e21556 commit 8230793
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ import akka.testkit.{TestProbe, AkkaSpec}
import akka.testkit.SocketUtil._
import Tcp._

class CapacityLimitSpec extends AkkaSpec("""
class CapacityLimitSpec
extends AkkaSpec("""
akka.loglevel = ERROR
akka.io.tcp.max-channels = 4
akka.actor.serialize-creators = on
""") with TcpIntegrationSpecSupport {
""")
with TcpIntegrationSpecSupport {

"The TCP transport implementation" should {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@ import scala.concurrent.duration._

import scala.language.postfixOps

class TcpIntegrationSpec extends AkkaSpec("""
class TcpIntegrationSpec
extends AkkaSpec("""
akka.loglevel = INFO
akka.actor.serialize-creators = on
""") with TcpIntegrationSpecSupport with Timeouts {
""")
with TcpIntegrationSpecSupport
with Timeouts {

def verifyActorTermination(actor: ActorRef): Unit = {
watch(actor)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ import akka.io.Inet._
import akka.testkit.SocketUtil._
import java.net.DatagramSocket

class UdpIntegrationSpec extends AkkaSpec("""
class UdpIntegrationSpec
extends AkkaSpec("""
akka.loglevel = INFO
akka.actor.serialize-creators = on""") with ImplicitSender {
akka.actor.serialize-creators = on""")
with ImplicitSender {

val addresses = temporaryServerAddresses(6, udp = true)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ object BalancingSpec {
}

@org.junit.runner.RunWith(classOf[org.scalatest.junit.JUnitRunner])
class BalancingSpec extends AkkaSpec("""
class BalancingSpec
extends AkkaSpec("""
akka.actor.deployment {
/balancingPool-2 {
router = balancing-pool
Expand All @@ -56,7 +57,9 @@ class BalancingSpec extends AkkaSpec("""
}
}
}
""") with ImplicitSender with BeforeAndAfterEach {
""")
with ImplicitSender
with BeforeAndAfterEach {
import BalancingSpec._

val poolSize =
Expand Down

0 comments on commit 8230793

Please sign in to comment.