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

Kafka unit tests need to choose random port

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Tired of seeing unit tests fail with:

      17:46:16 kafka.utils.ReplicationUtilsTest > testUpdateLeaderAndIsr FAILED
      17:46:16     java.net.BindException: Address already in use
      

      Tests should pick a random open port to avoid these conflicts.
      Will do this after KAFKA-1809 is in, so I won't have to do it twice

      Attachments

        Issue Links

          Activity

            People

              gwenshap Gwen Shapira
              gwenshap Gwen Shapira
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: