=pro #3759 Changed to using non-deprecated ScalaTest Matchers
This commit is contained in:
parent
b8c7d7badd
commit
003609c9c5
246 changed files with 2822 additions and 2822 deletions
|
|
@ -72,7 +72,7 @@ class ClusterClientSpec extends MultiNodeSpec(ClusterClientSpec) with STMultiNod
|
|||
def awaitCount(expected: Int): Unit = {
|
||||
awaitAssert {
|
||||
DistributedPubSubExtension(system).mediator ! DistributedPubSubMediator.Count
|
||||
expectMsgType[Int] must be(expected)
|
||||
expectMsgType[Int] should be(expected)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -145,7 +145,7 @@ class ClusterClientSpec extends MultiNodeSpec(ClusterClientSpec) with STMultiNod
|
|||
|
||||
runOn(client) {
|
||||
// note that "hi" was sent to 2 "serviceB"
|
||||
receiveN(3).toSet must be(Set("hello", "hi"))
|
||||
receiveN(3).toSet should be(Set("hello", "hi"))
|
||||
}
|
||||
|
||||
{ //not used, only demo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue