Flank: Test case based retries

Created on 12 May 2020  路  6Comments  路  Source: Flank/flank

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.

Epic P1

Most helpful comment

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.

All 6 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shawnshaligram picture shawnshaligram  路  3Comments

adamfilipow92 picture adamfilipow92  路  7Comments

jakob-grabner picture jakob-grabner  路  7Comments

leinardi picture leinardi  路  4Comments

miguelslemos picture miguelslemos  路  3Comments