}
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/72912")]
public async Task DoNotAddIfSizeOverflows()
{
var cache = new MemoryCache(new MemoryCacheOptions { SizeLimit = long.MaxValue });
}
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/72912")]
public async Task ExceedsCapacityCompacts()
{
var cache = new MemoryCache(new MemoryCacheOptions
}
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/72912")]
public async Task AddingReplacementWhenTotalSizeExceedsCapacityDoesNotUpdateRemovesOldEntryAndTriggersCompaction()
{
var cache = new MemoryCache(new MemoryCacheOptions
}
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/72912")]
public async Task ExpiringEntryDecreasesCacheSize()
{
var cache = new MemoryCache(new MemoryCacheOptions
}
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/72912")]
public async Task CompactsToLessThanLowWatermarkUsingLRUWhenHighWatermarkExceeded()
{
var testClock = new TestClock();