[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13793188#comment-13793188
 ] 

Alexander Shraer commented on ZOOKEEPER-1793:
---------------------------------------------

Hi Thawan,

I'm running ant test -Dtestcase=Zab1_0Test on my Mac with trunk, and it fails 
with the error above once every 3-4 runs

Thanks
Alex

> Zab1_0Test.testNormalObserverRun() is flaky
> -------------------------------------------
>
>                 Key: ZOOKEEPER-1793
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1793
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: quorum, server, tests
>            Reporter: Alexander Shraer
>            Assignee: Thawan Kooburat
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to