+clu #17870 add Java api for joinSeedNodes
This commit is contained in:
parent
afa9549307
commit
75c5810970
3 changed files with 43 additions and 4 deletions
|
|
@ -3,6 +3,7 @@
|
|||
*/
|
||||
package akka.cluster
|
||||
|
||||
import akka.actor.Address
|
||||
import com.typesafe.config.ConfigFactory
|
||||
import akka.remote.testkit.MultiNodeConfig
|
||||
import akka.remote.testkit.MultiNodeSpec
|
||||
|
|
@ -45,7 +46,8 @@ abstract class SingletonClusterSpec(multiNodeConfig: SingletonClusterMultiNodeCo
|
|||
|
||||
"become singleton cluster when started with seed-nodes" taggedAs LongRunningTest in {
|
||||
runOn(first) {
|
||||
cluster.joinSeedNodes(Vector(first))
|
||||
val nodes: immutable.IndexedSeq[Address] = Vector(first) //
|
||||
cluster.joinSeedNodes(nodes)
|
||||
awaitMembersUp(1)
|
||||
clusterView.isSingletonCluster should ===(true)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue