From 28ad257300fd82d8a0333b3f706dff0a06a621e5 Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Thu, 25 Jul 2024 18:30:31 -0400 Subject: [PATCH] Try to re-enable DeepEquals_TooDeepJsonDocument_ThrowsInsufficientExecutionStackException test on mono (#105509) --- .../System.Text.Json.Tests/Serialization/JsonElementTests.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/JsonElementTests.cs b/src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/JsonElementTests.cs index aa4ee7597879f..b1517a9187de9 100644 --- a/src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/JsonElementTests.cs +++ b/src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/JsonElementTests.cs @@ -230,7 +230,6 @@ public static void DeepEquals_DeepJsonDocument(int depth) } [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsThreadingSupported))] - [ActiveIssue("https://github.com/dotnet/runtime/issues/105490", TestRuntimes.Mono)] public static async Task DeepEquals_TooDeepJsonDocument_ThrowsInsufficientExecutionStackException() { var tcs = new TaskCompletionSource(); @@ -247,7 +246,7 @@ public static async Task DeepEquals_TooDeepJsonDocument_ThrowsInsufficientExecut { tcs.SetException(e); } - }, maxStackSize: 100_000) { IsBackground = true }.Start(); + }, maxStackSize: 128 * 1024) { IsBackground = true }.Start(); await tcs.Task; }