Retrying Flaky Tests
A test fails 1 run in 20, and people now re-run pipelines until green. What is the healthiest response?
Choose one answer
Delete the test, since a flaky test gives no information.
Retry the whole pipeline automatically up to five times.
Quarantine it with an owner and a deadline, and fix its cause.
Mark the whole test job continue-on-error: true until the test passes again on its own.
continue-on-error: true