File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -239,6 +239,8 @@ public static void JsonSerializerOptionsUpdateHandler_ClearingDoesntPreventSeria
239
239
240
240
JsonSerializer . Serialize < SimpleTestClass > ( testObj , options ) ;
241
241
Assert . NotEqual ( 0 , getCount ( options ) ) ;
242
+ } , new RemoteInvokeOptions ( ) {
243
+ TimeOut = RemoteExecutor . FailWaitTimeoutMilliseconds * PlatformDetection . SlowRuntimeTimeoutModifier
242
244
} ) . Dispose ( ) ;
243
245
244
246
static Func < JsonSerializerOptions , int > CreateCacheCountAccessor ( )
@@ -294,6 +296,8 @@ public static void JsonSerializerOptions_ReuseConverterCaches()
294
296
Assert . Same ( originalCacheOptions , getCacheOptions ( options2 ) ) ;
295
297
}
296
298
}
299
+ } , new RemoteInvokeOptions ( ) {
300
+ TimeOut = RemoteExecutor . FailWaitTimeoutMilliseconds * PlatformDetection . SlowRuntimeTimeoutModifier
297
301
} ) . Dispose ( ) ;
298
302
299
303
static Func < JsonSerializerOptions , JsonSerializerOptions ? > CreateCacheOptionsAccessor ( )
You can’t perform that action at this time.
0 commit comments