Allow barrier timeouts to be shortened and other review fixes

This commit is contained in:
Björn Antonsson 2012-06-15 14:39:47 +02:00
parent b52da8d588
commit fd42c3d49a
32 changed files with 395 additions and 267 deletions

View file

@ -44,7 +44,7 @@ abstract class NodeLeavingSpec
runOn(first) {
cluster.leave(secondAddress)
}
enter("second-left")
enterBarrier("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)
}
enter("finished")
enterBarrier("finished")
}
}
}