Skip to content

Update test/EFCore.Tests/ServiceProviderCacheTest.cs

ac976f3
Select commit
Loading
Failed to load commit list.
Merged

Add mechanism to clear ServiceProviderCache (#27189) #37487

Update test/EFCore.Tests/ServiceProviderCacheTest.cs
ac976f3
Select commit
Loading
Failed to load commit list.
Azure Pipelines / efcore-ci (Build macOS) failed Jan 12, 2026 in 4m 47s

Build macOS failed

Annotations

Check failure on line 55 in src/EFCore/Infrastructure/Internal/InfrastructureExtensions.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / efcore-ci (Build macOS)

src/EFCore/Infrastructure/Internal/InfrastructureExtensions.cs#L55

src/EFCore/Infrastructure/Internal/InfrastructureExtensions.cs(55,12): error CS1929: (NETCORE_ENGINEERING_TELEMETRY=Build) 'EntityFrameworkMetrics' does not contain a definition for 'ClearServiceProviderCache' and the best extension method overload 'InfrastructureExtensions.ClearServiceProviderCache(DatabaseFacade)' requires a receiver of type 'Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade'

Check failure on line 9 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / efcore-ci (Build macOS)

Build log #L9

Publishing build artifacts failed with an error: Not found PathtoPublish: /Users/runner/work/1/s/artifacts/TestResults/Release/