[ https://issues.apache.org/jira/browse/HDFS-5439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13811115#comment-13811115 ]
Junping Du commented on HDFS-5439: ---------------------------------- The direct issue is need to set some thread sleep time between setReplication() and getPendingLocations(). Another bigger issue is StorageReceivedDeletedBlocks should be created by using storageID instead of DatanodeUuid. Still in fixing it. > Fix TestPendingReplications > --------------------------- > > Key: HDFS-5439 > URL: https://issues.apache.org/jira/browse/HDFS-5439 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: namenode > Affects Versions: Heterogeneous Storage (HDFS-2832) > Reporter: Arpit Agarwal > Assignee: Junping Du > > {{TestPendingReplication}} fails with the following exception: > {code} > java.lang.AssertionError: expected:<4> but was:<3> > at org.junit.Assert.fail(Assert.java:93) > at org.junit.Assert.failNotEquals(Assert.java:647) > at org.junit.Assert.assertEquals(Assert.java:128) > at org.junit.Assert.assertEquals(Assert.java:472) > at org.junit.Assert.assertEquals(Assert.java:456) > at > org.apache.hadoop.hdfs.server.blockmanagement.TestPendingReplication.testBlockReceived(TestPendingReplication.java:186) > {code} -- This message was sent by Atlassian JIRA (v6.1#6144)