+clu #3612 Allow join to uninitialized node

* join to self not needed when performing manual joining
This commit is contained in:
Patrik Nordwall 2013-09-17 14:20:29 +02:00
parent 9abf5bc4bd
commit cb42bf0785
2 changed files with 45 additions and 16 deletions

View file

@ -34,7 +34,16 @@ abstract class NodeUpSpec
"A cluster node that is joining another cluster" must {
"be moved to UP by the leader after a convergence" taggedAs LongRunningTest in {
awaitClusterUp(first, second)
// it should be possible to join an uninitialized node
// test race on purpose
runOn(first) {
cluster.join(second)
}
runOn(second) {
cluster.join(first)
}
awaitMembersUp(2)
enterBarrier("after-1")
}