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

@ -44,7 +44,7 @@ abstract class NodeLeavingSpec
runOn(first) {
cluster.leave(secondAddress)
}
testConductor.enter("second-left")
enter("second-left")
runOn(first, third) {
awaitCond(cluster.latestGossip.members.exists(_.status == MemberStatus.Leaving))
@ -54,7 +54,7 @@ abstract class NodeLeavingSpec
hasLeft.get.address must be(secondAddress)
}
testConductor.enter("finished")
enter("finished")
}
}
}