-
Notifications
You must be signed in to change notification settings - Fork 396
Closed
Labels
SolvedThe issue is solved and can be closedThe issue is solved and can be closedbugSomething isn't workingSomething isn't working
Description
On net6.0 I faced with weird issue. See Xabaril/AspNetCore.Diagnostics.HealthChecks#1980 and especially Xabaril/AspNetCore.Diagnostics.HealthChecks#1980 (comment) .
I narrowed it down to --collect "XPlat Code Coverage" and opencollector package.
Steps to reproduce:
- Check out code from my branch in Fix Microsoft.Bcl.AsyncInterfaces issue Xabaril/AspNetCore.Diagnostics.HealthChecks#1980
- Run
dotnet test ./test/HealthChecks.Gremlin.Tests/HealthChecks.Gremlin.Tests.csproj --collect "XPlat Code Coverage" -f net6.0locally from the repo root. Test run fails.
Additional notes:
- No such error without
--collect "XPlat Code Coverage". - No such error if explicitly add
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="7.0.0" />into test project. - No such error on net7.0.
Metadata
Metadata
Assignees
Labels
SolvedThe issue is solved and can be closedThe issue is solved and can be closedbugSomething isn't workingSomething isn't working