[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785601#action_12785601
 ] 

Henry Robinson commented on ZOOKEEPER-609:
------------------------------------------

The error is due to the fact that the client should stop being connected to a 
cluster when it is not quorate (the test mimics the failure of one follower in 
a 2-follower, 1-observer cluster). This error message is printed when an event 
is received that we are expecting to be the disconnect event, so KeeperState 
should != SyncConnected. 

It is possible that there's an extra message being received before the 
disconnect event. I'm having difficulties recreating the failure with extra 
logging dialled in, unfortunately - I'll keep plugging away. 

> ObserverTest failure "zk should not be connected expected not same"
> -------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-609
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-609
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: quorum, server
>    Affects Versions: 3.3.0
>            Reporter: Patrick Hunt
>            Priority: Blocker
>             Fix For: 3.3.0
>
>         Attachments: TEST-org.apache.zookeeper.server.quorum.ObserverTest.xml
>
>
> ObserverTest failed running on 8core
> I ran the test as:
> ant -Dtest.junit.output.format=xml -Dtest.output -Dtestcase=AsyncHammerTest 
> clean test-core-java &> test.out

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to