kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sönke Liebau (JIRA) <j...@apache.org>
Subject [jira] [Created] (KAFKA-6104) Add unit tests for ClusterConnectionStates
Date Sun, 22 Oct 2017 20:12:00 GMT
Sönke Liebau created KAFKA-6104:
-----------------------------------

             Summary: Add unit tests for ClusterConnectionStates
                 Key: KAFKA-6104
                 URL: https://issues.apache.org/jira/browse/KAFKA-6104
             Project: Kafka
          Issue Type: Bug
          Components: unit tests
    Affects Versions: 0.11.0.0
            Reporter: Sönke Liebau
            Assignee: Sönke Liebau
            Priority: Trivial


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 .



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message