hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6587) Bug in TestBPOfferService can cause test failure
Date Mon, 23 Jun 2014 18:29:24 GMT

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

Hudson commented on HDFS-6587:
------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #5754 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/5754/])
HDFS-6587. Bug in TestBPOfferService can cause test failure. (Contributed by Zhilei Xu) (arp:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1604899)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestBPOfferService.java


> Bug in TestBPOfferService can cause test failure
> ------------------------------------------------
>
>                 Key: HDFS-6587
>                 URL: https://issues.apache.org/jira/browse/HDFS-6587
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.4.0
>            Reporter: Zhilei Xu
>            Assignee: Zhilei Xu
>             Fix For: 3.0.0, 2.5.0
>
>         Attachments: patch_TestBPOfferService.txt
>
>
> need to fix a bug in TestBPOfferService#waitForBlockReceived that fails the trunk, e.g.
in Build #1781.
> Details: in this test, the utility function waitForBlockReceived() has a bug:
> parameter mockNN is never used but hard-coded mockNN1 is used.
> This bug introduces undeterministic test failure when testBasicFunctionality() calls
> ret = waitForBlockReceived(FAKE_BLOCK, mockNN2);
> and the call finishes before the actual interaction with mockNN2 happens.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message