lhotari opened a new pull request #14607:
URL: https://github.com/apache/pulsar/pull/14607


   ### Motivation
   
   There's a [discussion on the mailing about improving unit test 
stability](https://lists.apache.org/thread/d4tq105wmsmm3s84lwy19d0b6hbxn7vz). 
   One of the methods is to disable test retries for new or modified test 
classes. This will reduce the likelihood of introducing more flaky tests into 
the code base.
   
   ### Modifications
   
   - Use the paths-filter in GitHub Actions to list test class changes. Use 
GitHub Actions to place the CSV list to a environment variable called 
`CHANGED_TESTS`.
   - parse `CHANGED_TESTS` in RetryAnalyzer which determines whether a failed 
test method should be retried or not. Disable test retries for new or modified 
tests.
   - parse `CHANGED_TESTS` in `build/retry.sh` script. Skip retries if there's 
a test failure in one of the changed tests.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to