Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to ProjectExclusions for assembly-level ActiveIssue tests on browser #50891

Merged
merged 1 commit into from
Apr 9, 2021

Conversation

elinor-fung
Copy link
Member

@elinor-fung elinor-fung commented Apr 7, 2021

Use ProjectExclusions items for libraries tests that were marked ActiveIssue(..., TestPlatforms.Browser) on the assembly level for browser (mostly crypto-related for #37669).

With the assembly-level ActiveIssue, the tests are still built / packaged and sent to run on helix machines - which goes through test discovery for all test cases, finds that none of them should be run (so it passes), and uploads test results/artifacts. Switching to ProjectExclusions avoids this unnecessary usage of resources.

@ghost
Copy link

ghost commented Apr 7, 2021

Tagging subscribers to this area: @bartonjs, @vcsjones, @krwq, @GrabYourPitchforks
See info in area-owners.md if you want to be subscribed.

Issue Details

Use ProjectExclusions items for libraries tests that were marked ActiveIssue on the assembly level for browser (mostly crypto-related for #37669).

With the assembly-level ActiveIssue, the tests are still built / packaged and sent to run on helix machines - which goes through test discovery for all test cases, finds that none of them should be run (so it passes), and uploads test results/artifacts. Switching to ProjectExclusions avoids this unnecessary usage of resources.

Author: elinor-fung
Assignees: -
Labels:

area-System.Security

Milestone: -

@elinor-fung elinor-fung merged commit 9c9eb90 into dotnet:main Apr 9, 2021
@elinor-fung elinor-fung deleted the browserTestExclusions branch April 9, 2021 01:37
@ghost ghost locked as resolved and limited conversation to collaborators May 9, 2021
@karelz karelz added this to the 6.0.0 milestone May 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants