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

Flavio Junqueira commented on ZOOKEEPER-1793:
---------------------------------------------

I'm sorry, I missed this jira before creating ZOOKEEPER-1798, which I believe 
is a duplicate of this one. In that jira, I describe the reason for the test 
being flaky and propose a solution, which apparently [~thawan] is not very 
happy with. I'm going to post a response momentarily.

> 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
>
> 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