test_result: Retry flaky tests

ERP5 functional tests are failing too often, until we improve the tests or the
code so that we don't have these intermitent failures, restart the failed tests
a bit automatically.

This is of course not good, because it's hiding problems, but the current state
of the test suite with many randomly failing test makes that we sometimes miss
when permanent failures are introduced.
3 jobs for feat/task_distribution_retry_flaky_tests in 0 seconds
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-TestRunner1

00:38:41

passed ERP5.PerformanceTest-TestRunner1

00:30:53

passed ERP5.UnitTest-TestRunner1

01:31:50