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

Fix race condition in testNormalObserverRun

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 3.4.6, 3.5.0
    • None
    • None

    Description

      This is the output messges:

      <noformat>
      Testcase: testNormalObserverRun took 4.221 sec
      FAILED
      expected:<data[2]> but was:<data[1]>
      junit.framework.AssertionFailedError: expected:<data[2]> but was:<data[1]>
      at org.apache.zookeeper.server.quorum.Zab1_0Test$8.converseWithObserver(Zab1_0Test.java:1118)
      at org.apache.zookeeper.server.quorum.Zab1_0Test.testObserverConversation(Zab1_0Test.java:546)
      at org.apache.zookeeper.server.quorum.Zab1_0Test.testNormalObserverRun(Zab1_0Test.java:994)
      <noformat>

      Attachments

        1. ZOOKEEPER-1798-b3.4.patch
          8 kB
          Flavio Paiva Junqueira
        2. ZOOKEEPER-1798-b3.4.patch
          7 kB
          Flavio Paiva Junqueira
        3. ZOOKEEPER-1798-b3.4.patch
          2 kB
          Thawan Kooburat
        4. ZOOKEEPER-1798-2.patch
          0.6 kB
          Thawan Kooburat
        5. ZOOKEEPER-1798.patch
          2 kB
          Thawan Kooburat
        6. ZOOKEEPER-1798.patch
          2 kB
          Thawan Kooburat
        7. TEST-org.apache.zookeeper.server.quorum.Zab1_0Test.txt
          62 kB
          Flavio Paiva Junqueira

        Issue Links

          Activity

            People

              thawan Thawan Kooburat
              fpj Flavio Paiva Junqueira
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: