ArteryMessageLoggingSpec pick up command line overrides for akka settings
Use ConfigFactory.load to pick up overrides in the additional actor system. Otherwise one runs with udp and other tcp for the artery-tcp job. Fixes #24806
This commit is contained in:
parent
896aa7e33b
commit
74f39e9409
1 changed files with 2 additions and 1 deletions
|
|
@ -52,8 +52,9 @@ class ClassicMessageLoggingSpec extends MessageLoggingSpec(config(false))
|
|||
|
||||
abstract class MessageLoggingSpec(config: Config) extends AkkaSpec(config) with ImplicitSender {
|
||||
|
||||
val remoteSystem = ActorSystem("remote-sys", config)
|
||||
val remoteSystem = ActorSystem("remote-sys", ConfigFactory.load(config))
|
||||
val remoteAddress = remoteSystem.asInstanceOf[ExtendedActorSystem].provider.getDefaultAddress
|
||||
|
||||
"Message logging" must {
|
||||
"not be on if debug logging not enabled" in {
|
||||
remoteSystem.actorOf(Props[BadActor], "bad")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue