From 2d618ae4bdbb1eaf7661f773ba446feaba33e8c9 Mon Sep 17 00:00:00 2001 From: Dan Moseley Date: Tue, 26 Jul 2022 13:57:15 -0600 Subject: [PATCH 1/2] Redisable test --- .../tests/MemoryCacheSetAndRemoveTests.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libraries/Microsoft.Extensions.Caching.Memory/tests/MemoryCacheSetAndRemoveTests.cs b/src/libraries/Microsoft.Extensions.Caching.Memory/tests/MemoryCacheSetAndRemoveTests.cs index 761fe4c3ab489..05b406ed86797 100644 --- a/src/libraries/Microsoft.Extensions.Caching.Memory/tests/MemoryCacheSetAndRemoveTests.cs +++ b/src/libraries/Microsoft.Extensions.Caching.Memory/tests/MemoryCacheSetAndRemoveTests.cs @@ -543,6 +543,7 @@ public void SetGetAndRemoveWorksWithObjectKeysWhenDifferentReferences() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/72879")] public void GetAndSet_AreThreadSafe_AndUpdatesNeverLeavesNullValues() { var cache = CreateCache(); From ae1b926e7a3ebc6fb1bb1c4354331c5cbbadd78f Mon Sep 17 00:00:00 2001 From: Dan Moseley Date: Tue, 26 Jul 2022 16:29:37 -0600 Subject: [PATCH 2/2] more disables --- .../tests/MemoryCacheSetAndRemoveTests.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libraries/Microsoft.Extensions.Caching.Memory/tests/MemoryCacheSetAndRemoveTests.cs b/src/libraries/Microsoft.Extensions.Caching.Memory/tests/MemoryCacheSetAndRemoveTests.cs index 05b406ed86797..15ff4a158bd5f 100644 --- a/src/libraries/Microsoft.Extensions.Caching.Memory/tests/MemoryCacheSetAndRemoveTests.cs +++ b/src/libraries/Microsoft.Extensions.Caching.Memory/tests/MemoryCacheSetAndRemoveTests.cs @@ -543,7 +543,8 @@ public void SetGetAndRemoveWorksWithObjectKeysWhenDifferentReferences() } [Fact] - [ActiveIssue("https://github.com/dotnet/runtime/issues/72879")] + [ActiveIssue("https://github.com/dotnet/runtime/issues/72879")] // issue in cache + [ActiveIssue("https://github.com/dotnet/runtime/issues/72890")] // issue in test public void GetAndSet_AreThreadSafe_AndUpdatesNeverLeavesNullValues() { var cache = CreateCache(); @@ -597,6 +598,7 @@ public void GetAndSet_AreThreadSafe_AndUpdatesNeverLeavesNullValues() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/72890")] public void OvercapacityPurge_AreThreadSafe() { var cache = new MemoryCache(new MemoryCacheOptions @@ -662,6 +664,7 @@ public void OvercapacityPurge_AreThreadSafe() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/72890")] public void AddAndReplaceEntries_AreThreadSafe() { var cache = new MemoryCache(new MemoryCacheOptions