From 331e1df713d2af386e32a6e4cc133e6d7e64a882 Mon Sep 17 00:00:00 2001 From: Vlad Brezae Date: Tue, 21 Jul 2026 13:59:26 +0300 Subject: [PATCH] Disable new test on clr interpreter --- .../System.Diagnostics.StackTrace/tests/StackTraceTests.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/libraries/System.Diagnostics.StackTrace/tests/StackTraceTests.cs b/src/libraries/System.Diagnostics.StackTrace/tests/StackTraceTests.cs index 2761b9b4b5a9cc..936cf1de22412e 100644 --- a/src/libraries/System.Diagnostics.StackTrace/tests/StackTraceTests.cs +++ b/src/libraries/System.Diagnostics.StackTrace/tests/StackTraceTests.cs @@ -750,10 +750,15 @@ public static IEnumerable Ctor_Async_TestData() yield return new object[] { () => V2Methods.Quuux(), MethodExceptionStrings["Quuux"] }; yield return new object[] { () => V2Methods.Bux(), MethodExceptionStrings["Bux"] }; yield return new object[] { () => V2Methods.ThrowsSoon(), MethodExceptionStrings["ThrowsSoon"] }; - yield return new object[] { () => V2Methods.ThrowsSoonValueTaskSource(), MethodExceptionStrings["ThrowsSoonValueTaskSource"] }; yield return new object[] { () => V1Methods.EdiOuter(), MethodExceptionStrings["EdiOuter"] }; } + // Move test case back into Ctor_Async_TestData once enabled. + [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsRuntimeAsyncSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/131123", typeof(PlatformDetection), nameof(PlatformDetection.IsCoreClrInterpreter))] + public Task ToString_Async_ThrowsSoonValueTaskSource() => + ToString_Async(V2Methods.ThrowsSoonValueTaskSource, MethodExceptionStrings["ThrowsSoonValueTaskSource"]); + [ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsRuntimeAsyncSupported))] [ActiveIssue("https://github.com/dotnet/runtime/issues/50957", typeof(PlatformDetection), nameof(PlatformDetection.IsBrowser))] [MemberData(nameof(Ctor_Async_TestData))]