Skip to content

Conversation

@martincostello
Copy link
Member

@martincostello martincostello commented Jan 10, 2025

  • Update to xunit v3.
  • Avoid infinite loop and throw if test times out.

Resolves #2439.

@martincostello martincostello added CI/build dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code labels Jan 10, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 143 out of 158 changed files in this pull request and generated no comments.

Files not reviewed (15)
  • Directory.Packages.props: Language not supported
  • eng/Test.targets: Language not supported
  • src/Snippets/Snippets.csproj: Language not supported
  • test/Polly.Core.Tests/CircuitBreaker/Controller/CircuitStateControllerTests.cs: Evaluated as low risk
  • test/Polly.Core.Tests/CircuitBreaker/BrokenCircuitExceptionTests.cs: Evaluated as low risk
  • test/Polly.Core.Tests/CircuitBreaker/IsolatedCircuitExceptionTests.cs: Evaluated as low risk
  • test/Polly.Core.Tests/Fallback/FallbackHandlerTests.cs: Evaluated as low risk
  • test/Polly.Core.Tests/CircuitBreaker/CircuitBreakerResiliencePipelineBuilderTests.cs: Evaluated as low risk
  • test/Polly.Core.Tests/CircuitBreaker/CircuitBreakerOptionsTests.cs: Evaluated as low risk
  • test/Polly.Core.Tests/CircuitBreaker/CircuitBreakerResilienceStrategyTests.cs: Evaluated as low risk
  • test/Polly.Core.Tests/Fallback/FallbackResiliencePipelineBuilderExtensionsTests.cs: Evaluated as low risk
  • test/Polly.Core.Tests/CircuitBreaker/CircuitBreakerStateProviderTests.cs: Evaluated as low risk
  • src/Snippets/Docs/Testing.cs: Evaluated as low risk
  • build.cake: Evaluated as low risk
  • test/Polly.Core.Tests/CircuitBreaker/CircuitBreakerPredicateArgumentsTests.cs: Evaluated as low risk

@codecov
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.12%. Comparing base (6d5fcd6) to head (e28f271).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2440   +/-   ##
=======================================
  Coverage   96.12%   96.12%           
=======================================
  Files         309      309           
  Lines        7118     7118           
  Branches     1008     1008           
=======================================
  Hits         6842     6842           
  Misses        222      222           
  Partials       54       54           
Flag Coverage Δ
linux 96.12% <ø> (ø)
macos 96.12% <ø> (ø)
windows 96.11% <ø> (ø)

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.

martincostello added a commit that referenced this pull request Jan 10, 2025
Takes some changes from #2440 which is blocked on support for xunit v3 in Stryker. with the aim of making #2440 a smaller change.

Contributes to #2439.
martincostello added a commit that referenced this pull request Jan 10, 2025
Takes some changes from #2440 which is blocked on support for xunit v3 in Stryker. with the aim of making #2440 a smaller change.

Contributes to #2439.
@martincostello martincostello force-pushed the xunit-v3 branch 3 times, most recently from 0d89f44 to 43001fd Compare January 13, 2025 17:17
@github-actions

This comment was marked as outdated.

@github-actions github-actions bot added the stale Stale issues or pull requests label Apr 14, 2025
@martincostello martincostello removed the stale Stale issues or pull requests label Apr 14, 2025
@github-actions

This comment was marked as outdated.

@github-actions github-actions bot added the stale Stale issues or pull requests label Jun 14, 2025
@martincostello martincostello removed the stale Stale issues or pull requests label Jun 14, 2025
@github-actions

This comment was marked as outdated.

@github-actions github-actions bot added the stale Stale issues or pull requests label Aug 14, 2025
@martincostello martincostello added keep-open Prevents an issue or pull request from being marked as stale and removed stale Stale issues or pull requests labels Aug 14, 2025
martincostello added a commit that referenced this pull request Aug 23, 2025
Cherry-pick changes from #2440 to prepare to switch to xunit v3.
martincostello added a commit that referenced this pull request Aug 23, 2025
Cherry-pick changes from #2440 to prepare to switch to xunit v3.
Update to xunit v3.

Resolves #2439.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/build dependencies Pull requests that update a dependency file keep-open Prevents an issue or pull request from being marked as stale .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to xunit v3

2 participants