diff --git a/test/EFCore.Specification.Tests/Query/NorthwindMiscellaneousQueryTestBase.cs b/test/EFCore.Specification.Tests/Query/NorthwindMiscellaneousQueryTestBase.cs index 35945a34a7d..452f7be7087 100644 --- a/test/EFCore.Specification.Tests/Query/NorthwindMiscellaneousQueryTestBase.cs +++ b/test/EFCore.Specification.Tests/Query/NorthwindMiscellaneousQueryTestBase.cs @@ -3612,7 +3612,7 @@ public virtual Task Random_next_is_not_funcletized_1(bool async) { return AssertQuery( async, - ss => ss.Set().Where(o => o.OrderID > new Random().Next())); + ss => ss.Set().Where(o => o.OrderID < (new Random().Next() - 2147483647))); } [ConditionalTheory]