remove logging of full config in ConfigDocSpec (#28314)
* changed to compile only, since it's not testing anything
This commit is contained in:
parent
edaea382ad
commit
75c5155582
1 changed files with 1 additions and 4 deletions
|
|
@ -17,8 +17,7 @@ import com.typesafe.config.ConfigFactory
|
||||||
class ConfigDocSpec extends WordSpec with Matchers {
|
class ConfigDocSpec extends WordSpec with Matchers {
|
||||||
val rootBehavior = Behaviors.empty[String]
|
val rootBehavior = Behaviors.empty[String]
|
||||||
|
|
||||||
"programmatically configure ActorSystem" in {
|
def compileOnlyCustomConfig(): Unit = {
|
||||||
|
|
||||||
//#custom-config
|
//#custom-config
|
||||||
val customConf = ConfigFactory.parseString("""
|
val customConf = ConfigFactory.parseString("""
|
||||||
akka.log-config-on-start = on
|
akka.log-config-on-start = on
|
||||||
|
|
@ -27,8 +26,6 @@ class ConfigDocSpec extends WordSpec with Matchers {
|
||||||
// config and default overrides, and then resolves it.
|
// config and default overrides, and then resolves it.
|
||||||
val system = ActorSystem(rootBehavior, "MySystem", ConfigFactory.load(customConf))
|
val system = ActorSystem(rootBehavior, "MySystem", ConfigFactory.load(customConf))
|
||||||
//#custom-config
|
//#custom-config
|
||||||
|
|
||||||
ActorTestKit.shutdown(system)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def compileOnlyPrintConfig(): Unit = {
|
def compileOnlyPrintConfig(): Unit = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue