Skip to content

Commit

Permalink
Fix non-determinstic set operation test
Browse files Browse the repository at this point in the history
  • Loading branch information
roji committed Jul 18, 2019
1 parent e4a816d commit a833020
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,12 @@ public virtual Task Union_Take_Union_Take(bool isAsync)
=> AssertQuery<Customer>(isAsync, cs => cs
.Where(c => c.City == "Berlin")
.Union(cs.Where(c => c.City == "London"))
.OrderBy(c => c.CustomerID)
.Take(1)
.Union(cs.Where(c => c.City == "Mannheim"))
.Take(1),
entryCount: 666);
.Take(1)
.OrderBy(c => c.CustomerID),
entryCount: 1, assertOrder: true);

[ConditionalTheory]
[MemberData(nameof(IsAsyncData))]
Expand Down

0 comments on commit a833020

Please sign in to comment.