-
Notifications
You must be signed in to change notification settings - Fork 25k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speedup BalanceUnbalancedClusterTests (#88794)
This commit speeds up the above tests (and probably many others) by changing how we assert the invariant. Previously invariant was checked by rebuilding internal collections from scratch and comparing them against ones already present in the object after every single modification twice. This commit verifies the invariant once after all bulk changes.
- Loading branch information
1 parent
664c12c
commit c755e7b
Showing
2 changed files
with
29 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters