You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (JIRA)" <ji...@apache.org> on 2016/04/19 01:48:25 UTC

[jira] [Created] (KAFKA-3581) Use timeout when joining threads in system test services

Jason Gustafson created KAFKA-3581:
--------------------------------------

             Summary: Use timeout when joining threads in system test services
                 Key: KAFKA-3581
                 URL: https://issues.apache.org/jira/browse/KAFKA-3581
             Project: Kafka
          Issue Type: Bug
          Components: system tests
            Reporter: Jason Gustafson
            Assignee: Jason Gustafson


We have several instances in our system test services where we invoke Thread.join() in the stop_node() function to stop the service. It probably makes sense to use a timeout in join() to ensure that the process eventually has a chance to do unclean shutdown when the process becomes unresponsive. We have seen several cases in our daily runs (with the verifiable consumer in particular) where the process seems to hang on this join.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)