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
239239
240240 JsonSerializer . Serialize < SimpleTestClass > ( testObj , options ) ;
241241 Assert . NotEqual ( 0 , getCount ( options ) ) ;
242+ } , new RemoteInvokeOptions ( ) {
243+ TimeOut = RemoteExecutor . FailWaitTimeoutMilliseconds * PlatformDetection . SlowRuntimeTimeoutModifier
242244 } ) . Dispose ( ) ;
243245
244246 static Func < JsonSerializerOptions , int > CreateCacheCountAccessor ( )
@@ -294,6 +296,8 @@ public static void JsonSerializerOptions_ReuseConverterCaches()
294296 Assert . Same ( originalCacheOptions , getCacheOptions ( options2 ) ) ;
295297 }
296298 }
299+ } , new RemoteInvokeOptions ( ) {
300+ TimeOut = RemoteExecutor . FailWaitTimeoutMilliseconds * PlatformDetection . SlowRuntimeTimeoutModifier
297301 } ) . Dispose ( ) ;
298302
299303 static Func < JsonSerializerOptions , JsonSerializerOptions ? > CreateCacheOptionsAccessor ( )
You can’t perform that action at this time.
0 commit comments