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

Re-enable failing tests #2255

Merged

Conversation

martincostello
Copy link
Member

Disable TFM parallelism for dotnet test in the Polly.Core project to see if it is the cause of the two failing tests.

See What's new in the SDK for .NET 9 - Run tests in parallel.

Disable TFM parallelism for dotnet test on the Polly.Core project to see if it is the cause of the two failing tests.
See https://learn.microsoft.com/dotnet/core/whats-new/dotnet-9/sdk#run-tests-in-parallel.
Copy link

codecov bot commented Jul 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.29%. Comparing base (98ba53f) to head (685b99d).

Additional details and impacted files
@@              Coverage Diff              @@
##           dotnet-vnext    #2255   +/-   ##
=============================================
  Coverage         85.29%   85.29%           
=============================================
  Files               312      312           
  Lines              7426     7426           
  Branches           1118     1118           
=============================================
  Hits               6334     6334           
  Misses              746      746           
  Partials            346      346           
Flag Coverage Δ
linux 85.29% <ø> (ø)
macos 85.29% <ø> (ø)
windows 85.29% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Try only disabling parallelism on Windows where there is the additional `net481` TFM.
@martincostello
Copy link
Member Author

Looks like the new parallel behaviour in .NET 9 SDK plus the additional 3rd TFM on Windows was what was causing the failures.

@martincostello martincostello marked this pull request as ready for review July 31, 2024 12:12
@martincostello martincostello merged commit f567882 into App-vNext:dotnet-vnext Jul 31, 2024
17 of 18 checks passed
@martincostello martincostello deleted the disable-tfm-parallelism branch July 31, 2024 12:12
martincostello added a commit that referenced this pull request Aug 17, 2024
Disable TFM parallelism for `dotnet test` in the Polly.Core project on Windows to fix two failing tests.
See https://learn.microsoft.com/dotnet/core/whats-new/dotnet-9/sdk#run-tests-in-parallel.
martincostello added a commit that referenced this pull request Sep 25, 2024
Disable TFM parallelism for `dotnet test` in the Polly.Core project on Windows to fix two failing tests.
See https://learn.microsoft.com/dotnet/core/whats-new/dotnet-9/sdk#run-tests-in-parallel.
martincostello added a commit that referenced this pull request Oct 8, 2024
Disable TFM parallelism for `dotnet test` in the Polly.Core project on Windows to fix two failing tests.
See https://learn.microsoft.com/dotnet/core/whats-new/dotnet-9/sdk#run-tests-in-parallel.
martincostello added a commit that referenced this pull request Oct 11, 2024
Disable TFM parallelism for `dotnet test` in the Polly.Core project on Windows to fix two failing tests.
See https://learn.microsoft.com/dotnet/core/whats-new/dotnet-9/sdk#run-tests-in-parallel.
martincostello added a commit that referenced this pull request Oct 16, 2024
Disable TFM parallelism for `dotnet test` in the Polly.Core project on Windows to fix two failing tests.
See https://learn.microsoft.com/dotnet/core/whats-new/dotnet-9/sdk#run-tests-in-parallel.
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.

1 participant