I have a pipeline with a "Visual Studio Test" task where "Minimum # of tests" is set to 10:
However, when a release does not meet the 10 minimum tests requirements, the right error is included in the logs:
2021-02-18T04:47:15.4609022Z ##[error]The specified minimum number of tests 10 were not executed in the test run.
However, there two lines below, there us the following log:
2021-02-18T04:47:16.2005970Z Execution Result Code 1 is non zero, checking for failed results
2021-02-18T04:47:17.8073253Z Failed tests if any were marked as flaky hence changing the exit code to 0
And the task is marked as successful. None of the tests in the entire test suite is marked as flaky? Where can the Failed tests if any were marked as flaky hence changing the exit code to 0 log coming from?