diff --git a/test/EFCore.Specification.Tests/Query/NorthwindMiscellaneousQueryTestBase.cs b/test/EFCore.Specification.Tests/Query/NorthwindMiscellaneousQueryTestBase.cs index 789671dfd90..50fd34bb3a6 100644 --- a/test/EFCore.Specification.Tests/Query/NorthwindMiscellaneousQueryTestBase.cs +++ b/test/EFCore.Specification.Tests/Query/NorthwindMiscellaneousQueryTestBase.cs @@ -5640,7 +5640,6 @@ public virtual async Task ToListAsync_can_be_canceled() { Assert.Null(result); Assert.Contains(CoreEventId.QueryCanceled, Fixture.ListLoggerFactory.Log.Select(l => l.Id)); - Assert.DoesNotContain(CoreEventId.QueryIterationFailed, Fixture.ListLoggerFactory.Log.Select(l => l.Id)); } else { @@ -5657,7 +5656,6 @@ public virtual async Task ToListAsync_with_canceled_token() await Assert.ThrowsAsync(() => context.Employees.ToListAsync(new CancellationToken(true))); Assert.Contains(CoreEventId.QueryCanceled, Fixture.ListLoggerFactory.Log.Select(l => l.Id)); - Assert.DoesNotContain(CoreEventId.QueryIterationFailed, Fixture.ListLoggerFactory.Log.Select(l => l.Id)); } [ConditionalFact(Skip = "Issue #17019")]