Skip to content
CodeKruPro

What is the right role for automatic retries?

QuizMediumAsked in: Accenture, Capgemini, Infosys

The team wants every UI test to retry three times so the build goes green. What is the best response?

  • Allow a small retry count only as a short-term safety net, log every retry, track flaky tests and fix their causes
  • Agree: three retries solve flakiness
  • Raise it to ten retries to be safe
  • Delete any test that ever failed twice

This question is part of Pro+

Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.

See Pro+

Already have Pro+? Sign in