nicoloboschi opened a new pull request #14194:
URL: https://github.com/apache/pulsar/pull/14194


   ### Motivation
   
   In the unit tests github checks if a single test fails, then the whole job 
is rerun for at most 3 times. (using the 
[retry](https://github.com/apache/pulsar/blob/master/build/retry.sh) script).
   
   Additionally, if a single test fails, there's [one attempt to rerun the 
test](https://github.com/apache/pulsar/blob/52b7059bdac7120f319a3c6f8085f25a2b9de7c8/buildtools/src/main/java/org/apache/pulsar/tests/RetryAnalyzer.java#L27).
 This parameter is configurable. The default (and actual value) is 1.
   
   
   We can retry to run the single failing test before giving up and rerun the 
whole suite.
   The benefits are multiple:
   * Fast PR validations
   * More stable PR validations (less need to re-trigger the CI)
   * Less waste of resources in case the test passes on the second or third 
shot 
   
   ### Modifications
   - Set `testRetryCount` to 6 on the unit test suites
     
   ### Documentation
   
   - [x] `no-need-doc` 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to