Skip to content

[libraries] Skipping passing WASM tests #38044

Closed

Description

@mdh1418

When running WASM library tests, a significant amount of tests
were failing due to threading not being supported. As such, #37822 was created and merged to skip these tests in order to get WASM tests running on helix #37752.

However, it was noticed that some tests being skip actually pass on master now (e.g. Microsoft.Extensions.Configuration.Tests), so there is a need to rerun WASM tests to get a fresh list of test names that fail with WASM: System.PlatformNotSupportedException : Cannot start threads on this runtime or WASM: System.PlatformNotSupportedException : Cannot wait on monitors on this runtime. In doing so, the changes that skip passing tests on master can be reverted.

Activity

  1. self-assigned this
    on Jun 17, 2020
  2. added
    untriaged
    on Jun 17, 2020
  3. added this to the 5.0.0 milestone on Jun 17, 2020
  4. mdh1418 commented on Jun 18, 2020

    @mdh1418
    MemberAuthor

    From commit hash fbf84d6911b, reran WASM tests before #37822 had been merged by following steps from here

    The test output obtained: wasm_test_output_original.txt.zip
    After cleaning the test output, ran a script to obtain tests failing with Cannot wait on monitors on this runtime. and Cannot wait on monitors on this runtime. to obtain threading related test failures, narrowing down the failing tests to 221 tests:
    Test names

    Ran script to insert [Conditional<Fact/Theory>(typeof(PlatformDetection), nameof(PlatformDetection.IsThreadingSupported))] in source files to obtain the proper source file changes.

    Reverted #37822, applied the first commit to add IsThreadingSupported and applied the proper source file changes to get #38089

  5. ghost locked as resolved and limited conversation to collaborators on Dec 8, 2020
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-librariesuntriaged

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions