=pro #3759 Changed to using non-deprecated ScalaTest Matchers

This commit is contained in:
Björn Antonsson 2013-12-17 14:25:56 +01:00
parent b8c7d7badd
commit 003609c9c5
246 changed files with 2822 additions and 2822 deletions

View file

@ -40,7 +40,7 @@ abstract class NodeUpSpec
enterBarrier("first-join-attempt")
Thread.sleep(2000)
clusterView.members must be(Set.empty)
clusterView.members should be(Set.empty)
enterBarrier("after-0")
}
@ -70,8 +70,8 @@ abstract class NodeUpSpec
// let it run for a while to make sure that nothing bad happens
for (n 1 to 20) {
Thread.sleep(100.millis.dilated.toMillis)
unexpected.get must be(SortedSet.empty)
clusterView.members.forall(_.status == MemberStatus.Up) must be(true)
unexpected.get should be(SortedSet.empty)
clusterView.members.forall(_.status == MemberStatus.Up) should be(true)
}
enterBarrier("after-2")