You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/03/08 13:07:52 UTC

[GitHub] [pulsar] lhotari opened a new pull request #14607: [Tests] Disable test retries for new tests

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: commits-unsubscribe@pulsar.apache.org

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



[GitHub] [pulsar] codelipenghui merged pull request #14607: [Tests] Disable test retries for new or modified tests

Posted by GitBox <gi...@apache.org>.
codelipenghui merged pull request #14607:
URL: https://github.com/apache/pulsar/pull/14607


   


-- 
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-unsubscribe@pulsar.apache.org

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