Add convergence verification to NodeStartupSpec. See #1948
This commit is contained in:
parent
3ab02e9519
commit
3e416a4b2c
1 changed files with 3 additions and 1 deletions
|
|
@ -67,7 +67,8 @@ class NodeStartupSpec extends MultiNodeSpec(NodeStartupMultiJvmSpec) with Implic
|
|||
"join the other node cluster when sending a Join command" taggedAs LongRunningTest in {
|
||||
runOn(second) {
|
||||
// start cluster on second node, and join
|
||||
Cluster(system)
|
||||
val secondNode = Cluster(system)
|
||||
awaitCond(secondNode.convergence.isDefined)
|
||||
}
|
||||
|
||||
runOn(first) {
|
||||
|
|
@ -78,6 +79,7 @@ class NodeStartupSpec extends MultiNodeSpec(NodeStartupMultiJvmSpec) with Implic
|
|||
}
|
||||
}
|
||||
firstNode.latestGossip.members.size must be(2)
|
||||
awaitCond(firstNode.convergence.isDefined)
|
||||
}
|
||||
|
||||
testConductor.enter("done")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue