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

Patrick Hunt commented on ZOOKEEPER-609:
----------------------------------------

I re-ran the test with the provide patch and now see an NPE:

Testcase: testObserver took 30.167 sec
        FAILED
waiting for server 1 being up
junit.framework.AssertionFailedError: waiting for server 1 being up
        at 
org.apache.zookeeper.server.quorum.ObserverTest.testObserver(ObserverTest.java:87)

Testcase: testSingleObserver took 30.109 sec
        Caused an ERROR
null
java.lang.NullPointerException
        at 
org.apache.zookeeper.server.quorum.QuorumPeerMain.shutdown(QuorumPeerMain.java:147)
        at 
org.apache.zookeeper.server.quorum.QuorumPeerMainTest$TestQPMain.shutdown(QuorumPeerMainTest.java:62)
        at 
org.apache.zookeeper.server.quorum.QuorumPeerTestBase$MainThread.shutdown(QuorumPeerTestBase.java:97)
        at 
org.apache.zookeeper.server.quorum.ObserverTest.testSingleObserver(ObserverTest.java:189)

Testcase: testLeaderElectionFail took 0.002 sec


> 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
>            Assignee: Henry Robinson
>            Priority: Blocker
>             Fix For: 3.3.0
>
>         Attachments: 
> TEST-org.apache.zookeeper.server.quorum.ObserverTest.xml, ZOOKEEPER-609.patch
>
>
> 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