Make multi node tests use the within() aware barrier

This commit is contained in:
Björn Antonsson 2012-06-13 14:55:33 +02:00
parent 463e62926e
commit 5714d8327f
25 changed files with 90 additions and 90 deletions

View file

@ -33,7 +33,7 @@ abstract class NodeUpSpec
awaitClusterUp(first, second)
testConductor.enter("after-1")
enter("after-1")
}
"be unaffected when joining again" taggedAs LongRunningTest in {
@ -45,12 +45,12 @@ abstract class NodeUpSpec
unexpected.set(members)
}
})
testConductor.enter("listener-registered")
enter("listener-registered")
runOn(second) {
cluster.join(node(first).address)
}
testConductor.enter("joined-again")
enter("joined-again")
// let it run for a while to make sure that nothing bad happens
for (n 1 to 20) {
@ -59,7 +59,7 @@ abstract class NodeUpSpec
cluster.latestGossip.members.forall(_.status == MemberStatus.Up) must be(true)
}
testConductor.enter("after-2")
enter("after-2")
}
}
}