From bd1193e39e37a94a86d589f637f1462526a1e4be Mon Sep 17 00:00:00 2001 From: maumar Date: Thu, 2 Jan 2025 01:29:00 -0800 Subject: [PATCH] reverting previous commit (34129) to unblock the build - more tests started failing with to many service provider instances created --- test/EFCore.Tests/DbContextTest.Services.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/EFCore.Tests/DbContextTest.Services.cs b/test/EFCore.Tests/DbContextTest.Services.cs index 3f5a1e1bb14..351a0f22a8c 100644 --- a/test/EFCore.Tests/DbContextTest.Services.cs +++ b/test/EFCore.Tests/DbContextTest.Services.cs @@ -295,7 +295,7 @@ public void Resolve_singleton_application_service(bool autoResolve) } } - [ConditionalTheory] + [ConditionalTheory(Skip = "https://github.com/dotnet/runtime/issues/89109")] [InlineData(false)] [InlineData(true)] public void Resolve_scoped_application_service(bool autoResolve) @@ -396,7 +396,6 @@ private static IServiceCollection AddServiceResolutionContext(bool autoResolve) (p, b) => { b = b.UseInMemoryDatabase(nameof(ServiceResolutionContext)) - .ConfigureWarnings(w => w.Ignore(CoreEventId.ManyServiceProvidersCreatedWarning)) .ReplaceService() .ReplaceService() .ReplaceService();