junit.framework.AssertionFailedError: Leader failed to transition to LOOKING or FOLLOWING state

Apache's JIRA Issue Tracker | Mohammad Arshad | 3 weeks ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [ZooKeeper-dev] ZooKeeper-trunk-jdk7 - Build # 381 - Failure - Grokbase

    grokbase.com | 1 year ago
    junit.framework.AssertionFailedError
  2. 0

    [ZooKeeper-dev] Re: Status of 3.4.6 - Grokbase

    grokbase.com | 2 years ago
    junit.framework.AssertionFailedError: QP failed to shutdown in 30 seconds: QuorumPeer[myid=0]/127.0.0.1:11251
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. junit.framework.AssertionFailedError

      Leader failed to transition to LOOKING or FOLLOWING state

      at org.apache.zookeeper.server.quorum.RaceConditionTest.testRaceConditionBetweenLeaderAndAckRequestProcessor()
    2. Zookeeper
      JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate
      1. org.apache.zookeeper.server.quorum.RaceConditionTest.testRaceConditionBetweenLeaderAndAckRequestProcessor(RaceConditionTest.java:74)
      2. org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
      2 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.lang.Thread.run(Thread.java:745)
      2 frames