remove logging of full config in ConfigDocSpec (#28314)

* changed to compile only, since it's not testing anything
This commit is contained in:
Patrik Nordwall 2019-12-11 12:18:07 +01:00 committed by GitHub
parent edaea382ad
commit 75c5155582
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = {