flank
flank copied to clipboard
Test case based retries
Add a retry mode to flank that retries only failed flaky tests. FTL retry will retry entire shards, including successful tests.
This feature is not currently on the FTL roadmap.
Would love to have this feature!
Oh it would be really very useful!
hi guys, do you have plans to implement this feature? It would be nice to re-run only failed tests instead of entire shard.
we do plan to support this feature! there are other tasks (bug fixes, stability) that have taken priority over feature work.
One thing that would be worth to keep in mind, since FTL does not support such logic it would require from flank creating new matrix (matrices) for failed tests. It's not something extremely difficult but there is another overhead. FTL will set up new device(s) and that takes some time. I think it's not a blocker but let's don't forget about it.
please also make sure that the total test count tally is not impacted by the retry. If we have 100 tests that execute, and 2 are flaky and get re-ran twice, we should still report 100 tests. I saw this issue in FTL where they actually incremented the total test count, which threw off our jenkins test analyzer.