-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix to #8617 - Query/Test: introduce client-side ordering to QueryTes…
…ts without explicit orderby, rather than using contains in the result verification This PR includes: - applying client side ordering to QueryTests (rather than doing O(n^2) result comparisons for queries without order by, - adding entry count verification (we had it in some places and not in others), - DRYing some of the commonly used asserters As a result, time to run those tests is cut down in half (40s to 20s). For now the helper methods are duplicated with the ones used in complex navs - will unify them in next checkin.
- Loading branch information
Showing
8 changed files
with
1,623 additions
and
1,303 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
675 changes: 398 additions & 277 deletions
675
src/EFCore.Specification.Tests/Query/QueryTestBase.JoinGroupJoin.cs
Large diffs are not rendered by default.
Oops, something went wrong.
241 changes: 124 additions & 117 deletions
241
src/EFCore.Specification.Tests/Query/QueryTestBase.ResultOperators.cs
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.