You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "adoroszlai (via GitHub)" <gi...@apache.org> on 2024/12/21 14:06:46 UTC

[PR] RATIS-2220. Skip further tests after leak detected [ratis]

adoroszlai opened a new pull request, #1193:
URL: https://github.com/apache/ratis/pull/1193

   ## What changes were proposed in this pull request?
   
   > After the first test case has failed, the leak detector will fail the following test cases (even if there are no new leaks) since it won't reset the leak trackers. ([comment](https://issues.apache.org/jira/browse/RATIS-2184?focusedCommentId=17894661&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17894661))
   
   We should skip further tests to avoid wasting time.
   
   (I'm guessing JUnit4 tests may not benefit from this, since it's added in a JUnit5 hook method.)
   
   https://issues.apache.org/jira/browse/RATIS-2220
   
   ## How was this patch tested?
   
   10x10 [run](https://github.com/adoroszlai/ratis/actions/runs/12443701223) of `TestRaftWithGrpc`, as expected has many failures.
   
   In each case at most 1 test failed with error, various number of other tests were skipped:
   
   ```
   [ERROR] Tests run: 11, Failures: 0, Errors: 1, Skipped: 8, Time elapsed: 60.854 s <<< FAILURE! - in org.apache.ratis.grpc.TestRaftWithGrpc
   [ERROR] Tests run: 11, Failures: 0, Errors: 1, Skipped: 8, Time elapsed: 54.102 s <<< FAILURE! - in org.apache.ratis.grpc.TestRaftWithGrpc
   [ERROR] Tests run: 11, Failures: 0, Errors: 1, Skipped: 4, Time elapsed: 154.546 s <<< FAILURE! - in org.apache.ratis.grpc.TestRaftWithGrpc
   [ERROR] Tests run: 11, Failures: 0, Errors: 1, Skipped: 8, Time elapsed: 56.705 s <<< FAILURE! - in org.apache.ratis.grpc.TestRaftWithGrpc
   [ERROR] Tests run: 11, Failures: 0, Errors: 1, Skipped: 9, Time elapsed: 45.134 s <<< FAILURE! - in org.apache.ratis.grpc.TestRaftWithGrpc
   [ERROR] Tests run: 11, Failures: 0, Errors: 1, Skipped: 9, Time elapsed: 43.876 s <<< FAILURE! - in org.apache.ratis.grpc.TestRaftWithGrpc
   [ERROR] Tests run: 11, Failures: 0, Errors: 1, Skipped: 8, Time elapsed: 57.373 s <<< FAILURE! - in org.apache.ratis.grpc.TestRaftWithGrpc
   ...
   ```
   
   CI:
   https://github.com/adoroszlai/ratis/actions/runs/12445569381


-- 
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: issues-unsubscribe@ratis.apache.org

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


Re: [PR] RATIS-2220. Skip further tests after leak detected [ratis]

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #1193:
URL: https://github.com/apache/ratis/pull/1193#issuecomment-2560155323

   Thanks @szetszwo for reviewing and merging this.


-- 
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: issues-unsubscribe@ratis.apache.org

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


Re: [PR] RATIS-2220. Skip further tests after leak detected [ratis]

Posted by "szetszwo (via GitHub)" <gi...@apache.org>.
szetszwo merged PR #1193:
URL: https://github.com/apache/ratis/pull/1193


-- 
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: issues-unsubscribe@ratis.apache.org

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