Skip to content

[wasm] System.CodeDom tests failing on windows #52107

Closed

Description

@radekdoulik

Similar to #52106 it has these issues:

  • Line ending, where we compare json text format after round trip and line ending differs (CFLF vs LF)
  • the tests timeouts on Helix - might be performance related

Example failure:

  fail: [FAIL] System.CodeDom.Compiler.Tests.CSharpCodeGenerationTests.MethodTypeParameterConstraintLineOnlyAddedForTypesThatHaveConstraints
  info: Assert.Equal() Failure
  info:           ↓ (pos 0)
  info: Expected: \r\npublic class ClassWithGenericMethod {\r\n
  info: Actual:   \npublic class ClassWithGenericMethod {\n\np
  info:           ↑ (pos 0)
  info:    at System.CodeDom.Compiler.Tests.CodeGenerationTests.AssertEqualPreserveLineBreaks(CodeObject c, String expected)
  info:    at System.CodeDom.Compiler.Tests.CSharpCodeGenerationTests.MethodTypeParameterConstraintLineOnlyAddedForTypesThatHaveConstraints()
  info:    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  info: Finished:    System.CodeDom.Tests.dll
  info:
  info: === TEST EXECUTION SUMMARY ===
  info: Total: 5974, Errors: 0, Failed: 8, Skipped: 5, Time: 5.468263s

The timeout is weird, as locally it only takes about 5s to run.

Activity

  1. self-assigned this
    on Apr 30, 2021
  2. ghost added
    untriaged
    on Apr 30, 2021
  3. added this to the 6.0.0 milestone on May 5, 2021
  4. removed
    untriaged
    on May 5, 2021
  5. changed the title [-][wasm] System..CodeDom tests failing on windows[/-] [+][wasm] System.CodeDom tests failing on windows[/+] on May 10, 2021
  6. ghost added
    in-pr
    on May 10, 2021
  7. ghost removed
    in-pr
    on May 12, 2021
  8. ghost locked as resolved and limited conversation to collaborators on Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-wasmarea-Infrastructure-mono

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions