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

Ensure that tests close ZooKeeper clients since they can impact subsequent tests

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0, 2.2.1
    • Component/s: core
    • Labels:
      None

      Description

      A while ago, we added a check to verify that tests are closing ZooKeeper clients in ZooKeeperTestHarness since left over clients can impact subsequent tests (e.g by overwriting static JAAS configuration). But we have changed the ZK client since then and hence the thread name being verified is no longer correct. As a result, we have tests that are leaving ZK clients behind and we need to fix that (as well as the incorrect verification).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rsivaram Rajini Sivaram
                Reporter:
                rsivaram Rajini Sivaram
                Reviewer:
                Ismael Juma
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: