[ https://issues.apache.org/jira/browse/KAFKA-5439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16047555#comment-16047555 ]
ASF GitHub Bot commented on KAFKA-5439: --------------------------------------- GitHub user rajinisivaram opened a pull request: https://github.com/apache/kafka/pull/3314 KAFKA-5439: Verify that no unexpected threads are left behind in tests You can merge this pull request into a Git repository by running: $ git pull https://github.com/rajinisivaram/kafka KAFKA-5439 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3314.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3314 ---- commit d76f37bfb46a72245b7e9305bebc1a4fd240b227 Author: Rajini Sivaram <rajinisiva...@googlemail.com> Date: 2017-06-13T07:33:43Z KAFKA-5439: Verify that no unexpected threads are left behind in tests ---- > Add checks in integration tests to verify that threads have been shutdown > -------------------------------------------------------------------------- > > Key: KAFKA-5439 > URL: https://issues.apache.org/jira/browse/KAFKA-5439 > Project: Kafka > Issue Type: Improvement > Reporter: Rajini Sivaram > Assignee: Rajini Sivaram > > We have seen several test failures in integration tests due to threads being > left behind because brokers, producers or ZooKeeper clients haven't been > closed properly in tests. Add a check so that these failures can be caught > sooner since transient failures caused by port reuse or update of static JAAS > configuration are much harder to debug. -- This message was sent by Atlassian JIRA (v6.4.14#64029)