Done removing "localhost" from test configs.

This commit is contained in:
Eugene Vigdorchik 2011-12-21 17:30:08 +04:00
parent d9e0b9f9e8
commit 80858620b2
6 changed files with 19 additions and 13 deletions

View file

@ -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("""