-
Notifications
You must be signed in to change notification settings - Fork 841
Description
Description
In the PR #4108 I had to decrease the code-coverage from 100% to 98% because the build pipeline handles the code-coverage processing incorrectly.
The following lines:
extensions/src/Libraries/Microsoft.Extensions.Http.Resilience/FaultInjection/Internal/Log.cs
Line 16 in e70559f
| public static partial void LogInjection( |
Line 31 in e70559f
| public static IHttpResilienceStrategyBuilder AddResilienceHandler( |
are correctly covered and tested, but the build fails.
There are also additional inconsistencies:
Check project coveragestep reports coverage of 98.46 - https://dev.azure.com/dnceng-public/public/_build/results?buildId=321876&view=logs&jobId=a7f66332-f7db-5a7e-ef2b-0455d70db552&j=a7f66332-f7db-5a7e-ef2b-0455d70db552&t=191c5785-431b-5c6c-a3e4-efe3a8133507- Code Coverage Report reports 99.9% code coverage - https://dev.azure.com/dnceng-public/public/_build/results?buildId=321876&view=codecoverage-tab
Reproduction Steps
Increase the min coverage to 100, the build fails:
Line 22 in 6d67b41
| <MinCodeCoverage>99</MinCodeCoverage> |
Expected behavior
Increase the min coverage to 100, the build should succeed:
Line 22 in 6d67b41
| <MinCodeCoverage>99</MinCodeCoverage> |
Actual behavior
The build fails when increasing the code-coverage to 100
Line 22 in 6d67b41
| <MinCodeCoverage>99</MinCodeCoverage> |
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
Please