Fail AzDO Pipeline if number of passed tests fall below a certain threashold. #24687
Labels
affected-few
This issue impacts only small number of customers
area-infrastructure
Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
severity-nice-to-have
This label is used by an internal tool
Milestone
Is your feature request related to a problem? Please describe.
This week, the number of passed tests as part of our daily CI builds and PR checks this week decreased from ~85,000 to ~20,000. Despite this, the PR checks passed an the build stayed green.
The tests stopped running because of an issue with xunit/arcade (see dotnet/arcade#5908) that caused
dotnet test
runs to fail silently, but I think automated checks should have caught the dramatic reduction in the number of passed tests.Describe the solution you'd like
We should set some sort of minimum threshold on the number of passed tests for a CI build/PR check pass. If we ever intentionally reduce the number of tests we run intentionally, we can manually adjust this threshold.
The text was updated successfully, but these errors were encountered: