You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Evaristo (JIRA)" <ji...@apache.org> on 2014/01/12 14:17:51 UTC

[jira] [Updated] (CURATOR-72) Background operations don't wait for connection timeout

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

Evaristo updated CURATOR-72:
----------------------------

    Attachment: TestListenerWithLeaderSelector.java

Finally I have a test that shows the problem (TestListenerWithLeaderSelector.java). The test shows a CF client with a LeaderSelector, and a ZK server that is started and stopped. The listeners sequence is broken with CURATOR-72 in some runs of the test

I have made 10 runs of test with CURATOR-2.1.0 (all passed) and 10 runs with CURATOR_72 (5 passed and 5 failed with listener sequence CONNECTED-SUSPENDED-LOST-RECONNECTED-LOST)



> Background operations don't wait for connection timeout
> -------------------------------------------------------
>
>                 Key: CURATOR-72
>                 URL: https://issues.apache.org/jira/browse/CURATOR-72
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 2.3.0
>            Reporter: Evaristo Camarero
>            Assignee: Jordan Zimmerman
>             Fix For: 2.4.0
>
>         Attachments: TestListener.java, TestListenerConnectedAtStart.java, TestListenerSequence.java, TestListenerWithLeaderSelector.java, test.java
>
>
> Background operations don't wait for the configured connection timeout before failing. Attached test shows the problem.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)