Auto port selection and SunnyWeatherSpec for Artery (#20512)
* Automatic port selection when port 0 configured * Combine remoting and artery SunnyWeatherSpec * Default to port 0 for artery in MultiNodeSpec.nodeConfig
This commit is contained in:
parent
7ccb7f292c
commit
5e3eb4bd8c
9 changed files with 72 additions and 95 deletions
|
|
@ -198,7 +198,8 @@ object MultiNodeSpec {
|
|||
"akka.actor.provider" -> "akka.remote.RemoteActorRefProvider",
|
||||
"akka.remote.artery.hostname" -> selfName,
|
||||
"akka.remote.netty.tcp.hostname" -> selfName,
|
||||
"akka.remote.netty.tcp.port" -> selfPort))
|
||||
"akka.remote.netty.tcp.port" -> selfPort,
|
||||
"akka.remote.artery.port" -> selfPort))
|
||||
|
||||
private[testkit] val baseConfig: Config = ConfigFactory.parseString("""
|
||||
akka {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue