From e78a5068e589ab617c1afccf58386f780d0688af Mon Sep 17 00:00:00 2001 From: Lakshan Fernando Date: Thu, 8 Sep 2022 13:55:06 -0700 Subject: [PATCH 1/2] Disable MonitoringIsEnabled with issue 75302 --- .../System.Runtime.Extensions/tests/System/AppDomainTests.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libraries/System.Runtime.Extensions/tests/System/AppDomainTests.cs b/src/libraries/System.Runtime.Extensions/tests/System/AppDomainTests.cs index eb7ec19f7a4b82..46ada88ca7ddf7 100644 --- a/src/libraries/System.Runtime.Extensions/tests/System/AppDomainTests.cs +++ b/src/libraries/System.Runtime.Extensions/tests/System/AppDomainTests.cs @@ -380,6 +380,7 @@ public void ReflectionOnlyGetAssemblies() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/75302", typeof(PlatformDetection), nameof(PlatformDetection.IsNativeAot))] [SkipOnPlatform(TestPlatforms.Browser | TestPlatforms.iOS | TestPlatforms.tvOS, "Throws PNSE")] public void MonitoringIsEnabled() { From 296705ac04409926fa97ece5e4aa9faa5e8ad133 Mon Sep 17 00:00:00 2001 From: Lakshan Fernando Date: Thu, 8 Sep 2022 15:53:27 -0700 Subject: [PATCH 2/2] Narrow the test exclusion --- .../System.Runtime.Extensions/tests/System/AppDomainTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Runtime.Extensions/tests/System/AppDomainTests.cs b/src/libraries/System.Runtime.Extensions/tests/System/AppDomainTests.cs index 46ada88ca7ddf7..078a0a82206e8c 100644 --- a/src/libraries/System.Runtime.Extensions/tests/System/AppDomainTests.cs +++ b/src/libraries/System.Runtime.Extensions/tests/System/AppDomainTests.cs @@ -380,7 +380,7 @@ public void ReflectionOnlyGetAssemblies() } [Fact] - [ActiveIssue("https://github.com/dotnet/runtime/issues/75302", typeof(PlatformDetection), nameof(PlatformDetection.IsNativeAot))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/75302", typeof(PlatformDetection), nameof(PlatformDetection.IsNativeAot), nameof(PlatformDetection.IsArm64Process))] [SkipOnPlatform(TestPlatforms.Browser | TestPlatforms.iOS | TestPlatforms.tvOS, "Throws PNSE")] public void MonitoringIsEnabled() {