More tests working on artery
* non-multi-jvm tests from akka-cluster * akka-cluster-metrics * akka-cluster-tools * akka-cluster-sharding
This commit is contained in:
parent
3b57947b1f
commit
848d56cc2f
11 changed files with 127 additions and 75 deletions
|
|
@ -13,6 +13,7 @@ import akka.actor.ActorRef
|
|||
import akka.cluster.ddata.Replicator.Internal._
|
||||
import akka.cluster.ddata.Replicator._
|
||||
import akka.actor.ActorSelection
|
||||
import akka.remote.RARP
|
||||
|
||||
object WriteAggregatorSpec {
|
||||
|
||||
|
|
@ -55,7 +56,11 @@ class WriteAggregatorSpec extends AkkaSpec("""
|
|||
""")
|
||||
with ImplicitSender {
|
||||
|
||||
val nodeA = Address("akka.tcp", "Sys", "a", 2552)
|
||||
val protocol =
|
||||
if (RARP(system).provider.remoteSettings.Artery.Enabled) "akka"
|
||||
else "akka.tcp"
|
||||
|
||||
val nodeA = Address(protocol, "Sys", "a", 2552)
|
||||
val nodeB = nodeA.copy(host = Some("b"))
|
||||
val nodeC = nodeA.copy(host = Some("c"))
|
||||
val nodeD = nodeA.copy(host = Some("d"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue