Used ZkClient for distributed testing.

This commit is contained in:
Eugene Vigdorchik 2011-12-22 17:34:20 +04:00
parent 440e5a5f69
commit 0c4c84d1dc
4 changed files with 15 additions and 20 deletions

View file

@ -7,7 +7,7 @@ trait AbstractRemoteActorMultiJvmSpec {
def commonConfig: Config
def remotes: Seq[String] = {
val arrayOpt = Option(System.getProperty("test.hosts")).map(_ split ",")
val arrayOpt = Option(AkkaRemoteSpec.testNodes).map(_ split ",")
(arrayOpt getOrElse Array.fill(NrOfNodes)("localhost")).toSeq
}