Make artery the default remoting (#26772)
This commit is contained in:
parent
ac91c797a5
commit
efc3adc08d
158 changed files with 977 additions and 999 deletions
|
|
@ -281,7 +281,7 @@ abstract class DurableDataSpec(multiNodeConfig: DurableDataSpecConfig)
|
|||
// use the same port
|
||||
ConfigFactory.parseString(s"""
|
||||
akka.remote.artery.canonical.port = ${address.port.get}
|
||||
akka.remote.netty.tcp.port = ${address.port.get}
|
||||
akka.remote.classic.netty.tcp.port = ${address.port.get}
|
||||
""").withFallback(system.settings.config))
|
||||
try {
|
||||
Cluster(sys2).join(address)
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@ class DurablePruningSpec extends MultiNodeSpec(DurablePruningSpec) with STMultiN
|
|||
system.name,
|
||||
ConfigFactory.parseString(s"""
|
||||
akka.remote.artery.canonical.port = ${address.port.get}
|
||||
akka.remote.netty.tcp.port = ${address.port.get}
|
||||
akka.remote.classic.netty.tcp.port = ${address.port.get}
|
||||
""").withFallback(system.settings.config))
|
||||
val cluster3 = Cluster(sys3)
|
||||
val replicator3 = startReplicator(sys3)
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ class LocalConcurrencySpec(_system: ActorSystem)
|
|||
"LocalConcurrencySpec",
|
||||
ConfigFactory.parseString("""
|
||||
akka.actor.provider = "cluster"
|
||||
akka.remote.netty.tcp.port=0
|
||||
akka.remote.classic.netty.tcp.port=0
|
||||
akka.remote.artery.canonical.port = 0
|
||||
""")))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ object LotsOfDataBot {
|
|||
ports.foreach { port =>
|
||||
// Override the configuration of the port
|
||||
val config = ConfigFactory
|
||||
.parseString("akka.remote.netty.tcp.port=" + port)
|
||||
.parseString("akka.remote.classic.netty.tcp.port=" + port)
|
||||
.withFallback(
|
||||
ConfigFactory.load(ConfigFactory.parseString("""
|
||||
passive = off
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ object ReplicatorSettingsSpec {
|
|||
|
||||
val config = ConfigFactory.parseString("""
|
||||
akka.actor.provider = "cluster"
|
||||
akka.remote.netty.tcp.port = 0
|
||||
akka.remote.classic.netty.tcp.port = 0
|
||||
akka.remote.artery.canonical.port = 0
|
||||
akka.remote.artery.canonical.hostname = 127.0.0.1""")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ object WriteAggregatorSpec {
|
|||
|
||||
class WriteAggregatorSpec extends AkkaSpec(s"""
|
||||
akka.actor.provider = "cluster"
|
||||
akka.remote.netty.tcp.port = 0
|
||||
akka.remote.classic.netty.tcp.port = 0
|
||||
akka.remote.artery.canonical.port = 0
|
||||
akka.cluster.distributed-data.durable.lmdb {
|
||||
dir = target/WriteAggregatorSpec-${System.currentTimeMillis}-ddata
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ class ReplicatedDataSerializerSpec
|
|||
ConfigFactory.parseString("""
|
||||
akka.loglevel = DEBUG
|
||||
akka.actor.provider=cluster
|
||||
akka.remote.netty.tcp.port=0
|
||||
akka.remote.classic.netty.tcp.port=0
|
||||
akka.remote.artery.canonical.port = 0
|
||||
akka.actor {
|
||||
serialize-messages = off
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ class ReplicatorMessageSerializerSpec
|
|||
"ReplicatorMessageSerializerSpec",
|
||||
ConfigFactory.parseString("""
|
||||
akka.actor.provider=cluster
|
||||
akka.remote.netty.tcp.port=0
|
||||
akka.remote.classic.netty.tcp.port=0
|
||||
akka.remote.artery.canonical.port = 0
|
||||
akka.actor {
|
||||
serialize-messages = off
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue