File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -229,15 +229,15 @@ public static void DeepEquals_DeepJsonDocument(int depth)
229
229
Assert . True ( JsonElement . DeepEquals ( element , element ) ) ;
230
230
}
231
231
232
- [ ConditionalFact ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsThreadingSupported ) ) ]
232
+ [ ConditionalFact ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsThreadingSupported ) , nameof ( PlatformDetection . IsNotMonoInterpreter ) ) ]
233
233
public static async Task DeepEquals_TooDeepJsonDocument_ThrowsInsufficientExecutionStackException ( )
234
234
{
235
235
var tcs = new TaskCompletionSource < bool > ( ) ;
236
236
new Thread ( ( ) =>
237
237
{
238
238
try
239
239
{
240
- using JsonDocument jDoc = CreateDeepJsonDocument ( 10_000 ) ;
240
+ using JsonDocument jDoc = CreateDeepJsonDocument ( 100_000 ) ;
241
241
JsonElement element = jDoc . RootElement ;
242
242
Assert . Throws < InsufficientExecutionStackException > ( ( ) => JsonElement . DeepEquals ( element , element ) ) ;
243
243
tcs . SetResult ( true ) ;
You can’t perform that action at this time.
0 commit comments