Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5439

Add checks in integration tests to verify that threads have been shutdown

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              rsivaram Rajini Sivaram
              Reporter:
              rsivaram Rajini Sivaram

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment