Details

    • Sub-task
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 3.6.0
    • None
    • leaderElection, server, tests
    • None

    Description

      The unit test added in ZOOKEEPER-3109 turns out to be quite flaky.

      See https://builds.apache.org/job/zOOkeeper-Find-Flaky-Tests/511/artifact/report.html

      Recent failure builds:

      https://builds.apache.org/job/ZooKeeper-trunk//181 

      https://builds.apache.org/job/ZooKeeper-trunk//179 

      https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/2123/testReport/junit/org.apache.zookeeper.server.quorum/QuorumPeerMainTest/testLeaderElectionWithDisloyalVoter_stillHasMajority/ 

       

      Snapshot of the failure:

      org.apache.zookeeper.server.quorum.QuorumPeerMainTest.testLeaderElectionWithDisloyalVoter_stillHasMajority
      
      Error Message
      Server 0 should have joined quorum by now
      Stacktrace
      junit.framework.AssertionFailedError: Server 0 should have joined quorum by now
      	at org.apache.zookeeper.server.quorum.QuorumPeerMainTest.testLeaderElection(QuorumPeerMainTest.java:1482)
      	at org.apache.zookeeper.server.quorum.QuorumPeerMainTest.testLeaderElectionWithDisloyalVoter_stillHasMajority(QuorumPeerMainTest.java:1431)
      	at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hanm Michael Han
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: