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

Zab1_0Test.testNormalObserverRun() is flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • quorum, server, tests
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: