From 75c51555820378bd72adef12cd42b35fe6e9ee76 Mon Sep 17 00:00:00 2001 From: Patrik Nordwall Date: Wed, 11 Dec 2019 12:18:07 +0100 Subject: [PATCH] remove logging of full config in ConfigDocSpec (#28314) * changed to compile only, since it's not testing anything --- akka-docs/src/test/scala/docs/config/ConfigDocSpec.scala | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/akka-docs/src/test/scala/docs/config/ConfigDocSpec.scala b/akka-docs/src/test/scala/docs/config/ConfigDocSpec.scala index b6ca5b5234..9f25e1bf02 100644 --- a/akka-docs/src/test/scala/docs/config/ConfigDocSpec.scala +++ b/akka-docs/src/test/scala/docs/config/ConfigDocSpec.scala @@ -17,8 +17,7 @@ import com.typesafe.config.ConfigFactory class ConfigDocSpec extends WordSpec with Matchers { val rootBehavior = Behaviors.empty[String] - "programmatically configure ActorSystem" in { - + def compileOnlyCustomConfig(): Unit = { //#custom-config val customConf = ConfigFactory.parseString(""" akka.log-config-on-start = on @@ -27,8 +26,6 @@ class ConfigDocSpec extends WordSpec with Matchers { // config and default overrides, and then resolves it. val system = ActorSystem(rootBehavior, "MySystem", ConfigFactory.load(customConf)) //#custom-config - - ActorTestKit.shutdown(system) } def compileOnlyPrintConfig(): Unit = {