=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

@ -60,7 +60,7 @@ class RemoteRandomSpec extends MultiNodeSpec(RemoteRandomMultiJvmSpec)
runOn(fourth) {
enterBarrier("start")
val actor = system.actorOf(RandomPool(nrOfInstances = 0).props(Props[SomeActor]), "service-hello")
actor.isInstanceOf[RoutedActorRef] must be(true)
actor.isInstanceOf[RoutedActorRef] should be(true)
val connectionCount = 3
val iterationCount = 100
@ -80,8 +80,8 @@ class RemoteRandomSpec extends MultiNodeSpec(RemoteRandomMultiJvmSpec)
enterBarrier("end")
// since it's random we can't be too strict in the assert
replies.values count (_ > 0) must be > (connectionCount - 2)
replies.get(node(fourth).address) must be(None)
replies.values count (_ > 0) should be > (connectionCount - 2)
replies.get(node(fourth).address) should be(None)
// shut down the actor before we let the other node(s) shut down so we don't try to send
// "Terminate" to a shut down node