Skip to content

chore: Disable parallel tests for target frameworks that introduced at .NET 9 preview2#9787

Merged
yufeih merged 1 commit into
dotnet:mainfrom
filzrev:chore-disable-parallel-tfm-tests
Mar 14, 2024
Merged

chore: Disable parallel tests for target frameworks that introduced at .NET 9 preview2#9787
yufeih merged 1 commit into
dotnet:mainfrom
filzrev:chore-disable-parallel-tfm-tests

Conversation

@filzrev
Copy link
Copy Markdown
Collaborator

@filzrev filzrev commented Mar 13, 2024

If .NET 9 Preview 2 is installed.
The dotnet test command runs tests in parallel for available target frameworks .
https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview2/sdk.md#parallel-testing-and-terminal-logger-test-display

This PR suppress this behavior by setting TestTfmsInParallel to false.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.99%. Comparing base (fe673ec) to head (47bce02).
Report is 69 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9787      +/-   ##
==========================================
+ Coverage   74.31%   78.99%   +4.67%     
==========================================
  Files         536      536              
  Lines       23189    23186       -3     
  Branches     4056     4025      -31     
==========================================
+ Hits        17234    18316    +1082     
+ Misses       4853     3747    -1106     
- Partials     1102     1123      +21     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yufeih yufeih merged commit c57ad6e into dotnet:main Mar 14, 2024
filzrev added a commit to filzrev/docfx that referenced this pull request Mar 27, 2024
…t .NET 9 preview2 (dotnet#9787)

chore: disable parallel target frameworks tests
p-kostov pushed a commit to ErpNetDocs/docfx that referenced this pull request Jun 28, 2024
…t .NET 9 preview2 (dotnet#9787)

chore: disable parallel target frameworks tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants