zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikhil Bhide (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-2877) Flaky Test: org.apache.zookeeper.server.quorum.Zab1_0Test.testNormalRun
Date Thu, 24 Aug 2017 11:41:00 GMT

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

Nikhil Bhide commented on ZOOKEEPER-2877:
-----------------------------------------

Hi [~hanm]
I tested this issue on latest release and I could not reproduce it. 
Assert at line 939, (l.self.getCurrentEpoch() is getting evaluated to 1) is working fine.
Please let me know whether am I missing anything?

Regards,
Nikhil

> Flaky Test: org.apache.zookeeper.server.quorum.Zab1_0Test.testNormalRun
> -----------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2877
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2877
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: tests
>            Reporter: Michael Han
>
> {noformat}
> Error Message
> expected:<1> but was:<0>
> Stacktrace
> junit.framework.AssertionFailedError: expected:<1> but was:<0>
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test$6.converseWithLeader(Zab1_0Test.java:939)
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.testLeaderConversation(Zab1_0Test.java:398)
> 	at org.apache.zookeeper.server.quorum.Zab1_0Test.testNormalRun(Zab1_0Test.java:906)
> 	at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message