Skip to content

Timeout running System.Text.Json.Serialization.Tests.CustomConverterTests.GetConverter_Poco_WriteThrowsNotSupportedException on mono interpreter #66371

Closed
@elinor-fung

Description

@elinor-fung

From test result and log from #66307:

  Starting:    System.Text.Json.Tests (parallel test collections = on, max threads = 2)
    System.Text.Json.Tests.Utf8JsonReaderTests.TestDepth(depth: 256) [SKIP]
      Takes very long to run on interpreter.
    System.Text.Json.Tests.Utf8JsonReaderTests.TestDepth(depth: 512) [SKIP]
      Takes very long to run on interpreter.
   System.Text.Json.Tests: [Long Running Test] 'System.Text.Json.Serialization.Tests.CustomConverterTests.GetConverter_Poco_WriteThrowsNotSupportedException', Elapsed: 00:04:12
   System.Text.Json.Tests: [Long Running Test] 'System.Text.Json.Serialization.Tests.CustomConverterTests.GetConverter_Poco_WriteThrowsNotSupportedException', Elapsed: 00:06:12
   System.Text.Json.Tests: [Long Running Test] 'System.Text.Json.Serialization.Tests.CustomConverterTests.GetConverter_Poco_WriteThrowsNotSupportedException', Elapsed: 00:08:12
   System.Text.Json.Tests: [Long Running Test] 'System.Text.Json.Serialization.Tests.CustomConverterTests.GetConverter_Poco_WriteThrowsNotSupportedException', Elapsed: 00:10:12

...
[EXECUTION TIMED OUT]

This test was added in #66248.

@eiriktsarpalis can you take a look? Is this expected to take a long time on mono interpreter / should it be disabled (looks like some other Json tests are disabled that way)?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions