fix up multi-jvm tests

This commit is contained in:
Roland 2012-07-25 18:02:45 +02:00
parent 52e4a18ebe
commit b2ce64fb6f
9 changed files with 24 additions and 23 deletions

View file

@ -54,7 +54,7 @@ abstract class NodeUpSpec
// let it run for a while to make sure that nothing bad happens
for (n 1 to 20) {
100.millis.dilated.sleep()
Thread.sleep(100.millis.dilated.toMillis)
unexpected.get must be(SortedSet.empty)
cluster.latestGossip.members.forall(_.status == MemberStatus.Up) must be(true)
}