[
https://issues.apache.org/jira/browse/ZOOKEEPER-1894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13948598#comment-13948598
]
Camille Fournier commented on ZOOKEEPER-1894:
---------------------------------------------
Also, the last test doesn't seem to be testing anything in ZooKeeper, so I
don't think it belongs.
> ObserverTest.testObserver fails consistently
> --------------------------------------------
>
> Key: ZOOKEEPER-1894
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1894
> Project: ZooKeeper
> Issue Type: Bug
> Components: quorum
> Affects Versions: 3.5.0
> Environment: ubuntu 13.10
> Server environment:java.version=1.7.0_51
> Server environment:java.vendor=Oracle Corporation
> Reporter: Michi Mutsuzaki
> Assignee: Michi Mutsuzaki
> Fix For: 3.5.0
>
> Attachments: TEST-org.apache.zookeeper.test.ObserverTest.txt.gz,
> ZOOKEEPER-1894.patch, ZOOKEEPER-1894.patch
>
>
> ObserverTest.testObserver fails consistently on my box. It looks like the
> observer (myid:3) calls QuorumPeer.getQuorumVerifier() in a tight loop, and
> the leader (myid:2) is not getting enough CPU time to synchronize with the
> follower and the observer. The test passes if I increase
> ClientBase.CONNECTION_TIMEOUT from 30 seconds to 120 seconds. I'll attach a
> log file.
--
This message was sent by Atlassian JIRA
(v6.2#6252)