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

Zab1_0Test.testNormalObserverRun() is flaky

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: quorum, server, tests
    • Labels:
      None

      Description

      not sure if this is due to a known issue or not.

      // check and make sure the change is persisted
      zkDb2 = new ZKDatabase(new FileTxnSnapLog(logDir, snapDir));
      lastZxid = zkDb2.loadDataBase();
      Assert.assertEquals("data2", new String(zkDb2.getData("/foo", stat, null)));

      this assert periodically (once every 3 runs of the test or so) fails saying that getData returns data1 and not data2.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                shralex Alexander Shraer
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: