Flight Lab / Assurance and automation / 03
Lesson 03 of 06 · about 4 min
A flaky test fails sometimes on the same code. The usual cause on a bench is a race: the assertion reads a channel before the command has landed. Retrying the test until it passes hides the race and still fails on a bad night.
The heater test fails about once in twenty runs. Choose the fix.