Skip to content

Commit

Permalink
Fix non-deterministic test
Browse files Browse the repository at this point in the history
  • Loading branch information
roji committed Jan 6, 2021
1 parent 5665ce6 commit cdbead6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/EFCore.Specification.Tests/ManyToManyLoadTestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -965,6 +965,7 @@ public virtual async Task Load_collection_using_Query_with_filtered_Include_and_
var queryable = collectionEntry
.Query()
.Include(e => e.ThreeSkipFull.Where(e => e.Id == 13 || e.Id == 11))
.OrderBy(e => e.Id)
.Select(e => new { e.Id, e.Name, Count1 = e.OneSkipShared.Count, Count3 = e.ThreeSkipFull.Count });

var projected = async
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ INNER JOIN (
FROM [EntityOneEntityTwo] AS [e3]
INNER JOIN [EntityTwos] AS [e4] ON [e3].[EntityTwoId] = [e4].[Id]
) AS [t] ON [e2].[Id] = [t].[EntityOneId]
WHERE [e2].[Id] = @__p_0");
WHERE [e2].[Id] = @__p_0
ORDER BY [t].[Id]");
}

public override async Task Load_collection_using_Query_with_join(bool async)
Expand Down

0 comments on commit cdbead6

Please sign in to comment.