Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1845

FLETest.testLE fails on windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.4.5
    • 3.4.6
    • quorum, tests
    • None
    • windows 7 x64 java 1.7.0_45

    Description

      This test waits for the leader election to settle, but it is possible that 3 follower threads join before the leader thread joins. We should wait for the leader thread to join in a loop for some time.

      Leader hasn't joined: 5
      junit.framework.AssertionFailedError: Leader hasn't joined: 5
              at org.apache.zookeeper.test.FLETest.testLE(FLETest.java:313)
              at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:52)
      

      Attachments

        1. ZOOKEEPER-1845-3.4.patch
          2 kB
          Michi Mutsuzaki

        Issue Links

          Activity

            People

              michim Michi Mutsuzaki
              michim Michi Mutsuzaki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: