Skip to content

Conversation

@martincostello
Copy link
Member

  • Rename FakeTimeProvider to MockTimeProvider to make it easier to migrate to FakeTimeProvider when TimeProvider from Microsoft.Bcl.TimeProvider (or .NET 8) is used.
  • Fix test failure when running in Debug instead of Release caused by Microsoft.VisualStudio.TestPlatform.TestHost.DebugAssertException when Debug.Assert() fires.

Rename `FakeTimeProvider` to `MockTimeProvider` to make it easier to migrate to `FakeTimeProvider` when `TimeProvider` from Microsoft.Bcl.TimeProvider (or .NET 8) is used.
Fix test failure when running in Debug instead of Release caused by `Microsoft.VisualStudio.TestPlatform.TestHost.DebugAssertException` when `Debug.Assert()` fires.
@martincostello martincostello added the v8 Issues related to the new version 8 of the Polly library. label Jun 24, 2023
@martincostello martincostello added this to the v8.0.0 milestone Jun 24, 2023
@codecov
Copy link

codecov bot commented Jun 24, 2023

Codecov Report

Merging #1349 (b5a0b06) into main (a9bf3e9) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1349   +/-   ##
=======================================
  Coverage   83.59%   83.59%           
=======================================
  Files         270      270           
  Lines        6396     6396           
  Branches     1008     1008           
=======================================
  Hits         5347     5347           
  Misses        840      840           
  Partials      209      209           
Flag Coverage Δ
linux 83.59% <100.00%> (ø)
macos 83.59% <100.00%> (ø)
windows 83.59% <100.00%> (ø)

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

Impacted Files Coverage Δ
src/Polly.Core/Utils/DisposeHelper.cs 100.00% <100.00%> (ø)

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

Labels

v8 Issues related to the new version 8 of the Polly library.

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants