zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thawan Kooburat (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-1798) Fix race condition in testNormalObserverRun
Date Wed, 06 Nov 2013 01:12:17 GMT

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

Thawan Kooburat commented on ZOOKEEPER-1798:
--------------------------------------------

Yeah, you are right.  I will create another patch to fix this 

> Fix race condition in testNormalObserverRun
> -------------------------------------------
>
>                 Key: ZOOKEEPER-1798
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1798
>             Project: ZooKeeper
>          Issue Type: Bug
>            Reporter: Flavio Junqueira
>            Assignee: Thawan Kooburat
>            Priority: Blocker
>             Fix For: 3.4.6, 3.5.0
>
>         Attachments: TEST-org.apache.zookeeper.server.quorum.Zab1_0Test.txt, ZOOKEEPER-1798-b3.4.patch,
ZOOKEEPER-1798-b3.4.patch, ZOOKEEPER-1798-b3.4.patch, ZOOKEEPER-1798.patch, ZOOKEEPER-1798.patch
>
>
> This is the output messges:
> <noformat>
> Testcase: testNormalObserverRun took 4.221 sec
>         FAILED
> expected:<data[2]> but was:<data[1]>
> junit.framework.AssertionFailedError: expected:<data[2]> but was:<data[1]>
>         at org.apache.zookeeper.server.quorum.Zab1_0Test$8.converseWithObserver(Zab1_0Test.java:1118)
>         at org.apache.zookeeper.server.quorum.Zab1_0Test.testObserverConversation(Zab1_0Test.java:546)
>         at org.apache.zookeeper.server.quorum.Zab1_0Test.testNormalObserverRun(Zab1_0Test.java:994)
> <noformat>



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

Mime
View raw message