You discover that a test measuring the response time of an API endpoint causes the failures. You need to prevent the build pipeline from failing due to the test. Which two actions should you perform?

Last Updated on November 3, 2021 by Admin 2

You have a build pipeline in Azure Pipelines that occasionally fails.

You discover that a test measuring the response time of an API endpoint causes the failures.

You need to prevent the build pipeline from failing due to the test.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

  • Set Flaky test detection to Off.
  • Clear Flaky tests included in test pass percentage.
  • Enable Test Impact Analysis (TIA).
  • Manually mark the test as flaky.
  • Enable test slicing.
Explanation:

D: You can mark or unmark a test as flaky based on analysis or context, by choosing Flaky.

To configure flaky test management, choose Project settings, and select Test management in the Pipelines section.

B:
Slide the On/Off button to On.

AZ-400 Microsoft Azure DevOps Solutions Part 02 Q20 028
AZ-400 Microsoft Azure DevOps Solutions Part 02 Q20 028
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments