=clu replace Set -- with diff and ++ with union
* better performance according to https://docs.google.com/presentation/d/1Qjryxoe-fYEM8ZPhM-98LKfbhnRcn5eAEMNlVVnixsA/pub
This commit is contained in:
parent
9380983d3c
commit
c7c187f6b7
24 changed files with 46 additions and 46 deletions
|
|
@ -3,8 +3,8 @@
|
|||
*/
|
||||
package akka.cluster
|
||||
|
||||
// TODO remove metrics
|
||||
// FIXME this test is not migrated to metrics extension
|
||||
// TODO remove metrics
|
||||
// FIXME this test is not migrated to metrics extension
|
||||
|
||||
import language.postfixOps
|
||||
import scala.annotation.tailrec
|
||||
|
|
@ -981,7 +981,7 @@ abstract class StressSpec
|
|||
timeout = remainingOrDefault)
|
||||
awaitAllReachable()
|
||||
}
|
||||
val nextAddresses = clusterView.members.map(_.address) -- usedAddresses
|
||||
val nextAddresses = clusterView.members.map(_.address) diff usedAddresses
|
||||
runOn(usedRoles: _*) {
|
||||
nextAddresses.size should ===(numberOfNodesJoinRemove)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue