Done removing "localhost" from test configs.
This commit is contained in:
parent
d9e0b9f9e8
commit
80858620b2
6 changed files with 19 additions and 13 deletions
|
|
@ -11,6 +11,12 @@ trait AbstractRemoteActorMultiJvmSpec {
|
|||
listOpt getOrElse List.fill(NrOfNodes)("localhost")
|
||||
}
|
||||
|
||||
def specString(count: Int): String = {
|
||||
val specs = for ((host, idx) <- remotes.take(count).zipWithIndex) yield
|
||||
"\"akka://AkkaRemoteSpec@%s:%d\"".format(host, 9991+idx)
|
||||
specs.mkString(",")
|
||||
}
|
||||
|
||||
val nodeConfigs = ((1 to NrOfNodes).toList zip remotes) map {
|
||||
case (idx, host) =>
|
||||
ConfigFactory.parseString("""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue