Skip to content

Fail AzDO Pipeline if number of passed tests fall below a certain threashold.  #24687

@halter73

Description

@halter73

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.

image

image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    affected-fewThis issue impacts only small number of customersarea-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared frameworkenhancementThis issue represents an ask for new feature or an enhancement to an existing oneseverity-nice-to-haveThis label is used by an internal tool

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions