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

ASF GitHub Bot commented on ZOOKEEPER-2683:
-------------------------------------------

GitHub user arshadmohammad opened a pull request:

    https://github.com/apache/zookeeper/pull/175

    ZOOKEEPER-2683: RaceConditionTest is flaky

    RaceConditionTest assertion is wrong, It fails when old leader becomes 
leader again.  

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/arshadmohammad/zookeeper ZOOKEEPER-2683-03

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zookeeper/pull/175.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #175
    
----
commit 797edf7aa9d182df87e91355d6493263e92e11f9
Author: Mohammad Arshad <ars...@apache.org>
Date:   2017-02-13T19:11:02Z

    ZOOKEEPER-2683: RaceConditionTest is flaky

----


> 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
>             Fix For: 3.5.3, 3.6.0
>
>         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)

Reply via email to