From aba7c43598dc13e7e43843dceb57a397f13107cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Strehovsk=C3=BD?= Date: Thu, 21 Sep 2023 16:29:45 +0900 Subject: [PATCH] Disable new tests failing on NativeAOT (#92388) --- src/libraries/System.Linq/tests/AggregateByTests.cs | 2 ++ src/libraries/System.Linq/tests/CountByTests.cs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/libraries/System.Linq/tests/AggregateByTests.cs b/src/libraries/System.Linq/tests/AggregateByTests.cs index 4e56df3abc1c7..342ab412f8793 100644 --- a/src/libraries/System.Linq/tests/AggregateByTests.cs +++ b/src/libraries/System.Linq/tests/AggregateByTests.cs @@ -78,6 +78,7 @@ public void AggregateBy_SourceThrowsOnCurrent() } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/92387", typeof(PlatformDetection), nameof(PlatformDetection.IsNativeAot))] [MemberData(nameof(AggregateBy_TestData))] public static void AggregateBy_HasExpectedOutput(IEnumerable source, Func keySelector, Func seedSelector, Func func, IEqualityComparer? comparer, IEnumerable> expected) { @@ -85,6 +86,7 @@ public static void AggregateBy_HasExpectedOutput(IEn } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/92387", typeof(PlatformDetection), nameof(PlatformDetection.IsNativeAot))] [MemberData(nameof(AggregateBy_TestData))] public static void AggregateBy_RunOnce_HasExpectedOutput(IEnumerable source, Func keySelector, Func seedSelector, Func func, IEqualityComparer? comparer, IEnumerable> expected) { diff --git a/src/libraries/System.Linq/tests/CountByTests.cs b/src/libraries/System.Linq/tests/CountByTests.cs index 526326d60c2bc..cc2a4a5f30709 100644 --- a/src/libraries/System.Linq/tests/CountByTests.cs +++ b/src/libraries/System.Linq/tests/CountByTests.cs @@ -58,6 +58,7 @@ public void CountBy_SourceThrowsOnCurrent() } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/92387", typeof(PlatformDetection), nameof(PlatformDetection.IsNativeAot))] [MemberData(nameof(CountBy_TestData))] public static void CountBy_HasExpectedOutput(IEnumerable source, Func keySelector, IEqualityComparer? comparer, IEnumerable> expected) { @@ -65,6 +66,7 @@ public static void CountBy_HasExpectedOutput(IEnumerable } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/92387", typeof(PlatformDetection), nameof(PlatformDetection.IsNativeAot))] [MemberData(nameof(CountBy_TestData))] public static void CountBy_RunOnce_HasExpectedOutput(IEnumerable source, Func keySelector, IEqualityComparer? comparer, IEnumerable> expected) {