dotnet / efcore

EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
https://docs.microsoft.com/ef/
MIT License
13.72k stars 3.17k forks source link

NorthwindAggregateOperatorsQueryCosmosTest.Distinct_Scalar fails on CI #27688

Open AndriySvyryd opened 2 years ago

AndriySvyryd commented 2 years ago

Microsoft.EntityFrameworkCore.Query.NorthwindAggregateOperatorsQueryCosmosTest.Distinct_Scalar(async: True)

Assert.Equal() Failure Expected: 69 Actual: 68

at Microsoft.EntityFrameworkCore.TestUtilities.TestHelpers.AssertResults[T](IList1 expected, IList1 actual, Func2 elementSorter, Action2 elementAsserter, Boolean verifyOrdered) in //test/EFCore.Specification.Tests/TestUtilities/TestHelpers.cs:line 255 at Microsoft.EntityFrameworkCore.TestUtilities.QueryAsserter.AssertQuery[TResult](Func2 actualQuery, Func2 expectedQuery, Func2 elementSorter, Action2 elementAsserter, Boolean assertOrder, Int32 entryCount, Boolean async, String testMethodName, Boolean filteredQuery) in //test/EFCore.Specification.Tests/TestUtilities/QueryAsserter.cs:line 135 at Microsoft.EntityFrameworkCore.Query.NorthwindAggregateOperatorsQueryCosmosTest.DistinctScalar(Boolean async) in //test/EFCore.Cosmos.FunctionalTests/Query/NorthwindAggregateOperatorsQueryCosmosTest.cs:line 909

Marusyk commented 2 years ago

It seems everything is fine image image

AndriySvyryd commented 2 years ago

Yes, it only fails on CI, locally it passes fine