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

Add unit tests for ClusterConnectionStates

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.11.0.0
    • 1.0.0, 1.1.0
    • unit tests
    • None

    Description

      There are no unit tests for the ClusterConnectionStates object.

      I've created tests to:

      • Cycle through connection states and check correct properties during the process
      • Check authentication exception is correctly stored
      • Check that max reconnect backoff is not exceeded during reconnects
      • Check that removed connections are correctly reset

      There is currently no test that checks whether the reconnect times are correctly increased, as that is still being fixed in KAFKA-6101 .

      Attachments

        Issue Links

          Activity

            People

              sliebau Sönke Liebau
              sliebau Sönke Liebau
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: