[ 
https://issues.apache.org/jira/browse/KAFKA-6104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16215118#comment-16215118
 ] 

ASF GitHub Bot commented on KAFKA-6104:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/kafka/pull/4113


> 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