[ https://issues.apache.org/jira/browse/HDFS-6587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14040345#comment-14040345 ]
Arpit Agarwal edited comment on HDFS-6587 at 6/23/14 2:04 AM: -------------------------------------------------------------- I am hitting an issue with subversion right now, will commit this later. I also downgraded the priority since this issue has been around for a while. It need not be a blocker. was (Author: arpitagarwal): I am hitting an issue with subversion right now, will commit this later. > Bug in TestBPOfferService blocks the trunk build > ------------------------------------------------ > > Key: HDFS-6587 > URL: https://issues.apache.org/jira/browse/HDFS-6587 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Zhilei Xu > Assignee: Zhilei Xu > Labels: patch > 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)