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
- is related to
-
ZOOKEEPER-1798 Fix race condition in testNormalObserverRun
- Closed