You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Mohammad Arshad (JIRA)" <ji...@apache.org> on 2017/02/07 06:56:41 UTC

[jira] [Updated] (ZOOKEEPER-2683) RaceConditionTest is flaky

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

Mohammad Arshad updated ZOOKEEPER-2683:
---------------------------------------
    Attachment: ZOOKEEPER-2683-01.patch

QuorumPeerMain.getQuorumPeer visibility changed to protected to simply the test case. This is just improvement
Fix can be without this change but it is good to have.

> RaceConditionTest is flaky
> --------------------------
>
>                 Key: ZOOKEEPER-2683
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2683
>             Project: ZooKeeper
>          Issue Type: Bug
>            Reporter: Mohammad Arshad
>            Assignee: Mohammad Arshad
>         Attachments: ZOOKEEPER-2683-01.patch
>
>
> *Error Message*
> {noformat}
> Leader failed to transition to LOOKING or FOLLOWING state
> {noformat}
> *Stacktrace*
> {noformat}
> junit.framework.AssertionFailedError: Leader failed to transition to LOOKING or FOLLOWING state
> 	at org.apache.zookeeper.server.quorum.RaceConditionTest.testRaceConditionBetweenLeaderAndAckRequestProcessor(RaceConditionTest.java:74)
> 	at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> 	at java.lang.Thread.run(Thread.java:745)
> {noformat}
> [CI Failures Reference|https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/279//testReport/org.apache.zookeeper.server.quorum/RaceConditionTest/testRaceConditionBetweenLeaderAndAckRequestProcessor/]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)