What is a flaky test, and how do you handle it?
IntermediateConceptCI/CD
Answer
A test that passes and fails on the same code. Quarantine it (mark it as non-blocking and track it), fix the root cause (timing, shared state, ordering), and don't hide it with blind retries.
More on CI/CD
CI vs continuous delivery vs continuous deployment?BeginnerWhat is an artifact, and why "build once, deploy many"?IntermediateWhat are the DORA metrics?IntermediateBlue/green vs canary vs rolling?IntermediateWhat is GitOps in one sentence?BeginnerJenkins declarative vs scripted pipeline?Intermediate