Strategies to Handle Flaky Automated Tests
We define a "flaky" test as a test that both passes and fails with the same code. Test flakiness has many possible causes – it may occur no matter how smart our test framework is. Even at Google, every 7th test written by their stellar team occasionally fails without any code changes.