[ 
https://issues.apache.org/jira/browse/KAFKA-6104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sönke Liebau updated KAFKA-6104:
--------------------------------
    Issue Type: Test  (was: Bug)

> Add unit tests for ClusterConnectionStates
> ------------------------------------------
>
>                 Key: KAFKA-6104
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6104
>             Project: Kafka
>          Issue Type: Test
>          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)

Reply via email to