Minor corrections according to Viktor's review.
This commit is contained in:
parent
80858620b2
commit
4b31ac1c03
2 changed files with 4 additions and 4 deletions
|
|
@ -6,9 +6,9 @@ trait AbstractRemoteActorMultiJvmSpec {
|
|||
def NrOfNodes: Int
|
||||
def commonConfig: Config
|
||||
|
||||
def remotes: List[String] = {
|
||||
val listOpt = Option(System.getProperty("test.hosts")).map(_.split(",").toList)
|
||||
listOpt getOrElse List.fill(NrOfNodes)("localhost")
|
||||
def remotes: Array[String] = {
|
||||
val arrayOpt = Option(System.getProperty("test.hosts")).map(_ split ",")
|
||||
arrayOpt getOrElse Array.fill(NrOfNodes)("localhost")
|
||||
}
|
||||
|
||||
def specString(count: Int): String = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue