Skip to content

Commit 0c9094e

Browse files
authored
[ActiveIssue] test flakiness on M.E.Caching.Memory (#34142)
* ActiveIssue flakiness on M.E.Caching.Memory * disable test OvercapacityPurge_AreThreadSafe
1 parent b24e9cd commit 0c9094e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/libraries/Microsoft.Extensions.Caching.Memory/tests/CapacityTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ public void RemovingEntryDecreasesCacheSize()
306306
}
307307

308308
[Fact]
309+
[ActiveIssue("https://github.com/dotnet/runtime/issues/33993")]
309310
public async Task ExpiringEntryDecreasesCacheSize()
310311
{
311312
var cache = new MemoryCache(new MemoryCacheOptions

src/libraries/Microsoft.Extensions.Caching.Memory/tests/MemoryCacheSetAndRemoveTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ public void SetGetAndRemoveWorksWithObjectKeysWhenDifferentReferences()
443443
}
444444

445445
[Fact]
446-
[ActiveIssue("https://github.com/dotnet/runtime/issues/33993", TestRuntimes.Mono)]
446+
[ActiveIssue("https://github.com/dotnet/runtime/issues/33993")]
447447
public void GetAndSet_AreThreadSafe_AndUpdatesNeverLeavesNullValues()
448448
{
449449
var cache = CreateCache();
@@ -497,6 +497,7 @@ public void GetAndSet_AreThreadSafe_AndUpdatesNeverLeavesNullValues()
497497
}
498498

499499
[Fact]
500+
[ActiveIssue("https://github.com/dotnet/runtime/issues/33993")]
500501
public void OvercapacityPurge_AreThreadSafe()
501502
{
502503
var cache = new MemoryCache(new MemoryCacheOptions

0 commit comments

Comments
 (0)