[
https://issues.apache.org/jira/browse/HDFS-10990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yiqun Lin updated HDFS-10990:
-----------------------------
Description: After HDFS-10426, the test
{{TestPendingInvalidateBlock#testPendingDeletion}} still fails sometimes. As
[~iwasakims] commented in
HDFS-10426(https://issues.apache.org/jira/browse/HDFS-10426?focusedCommentId=15539826&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15539826),
we should add a line {{DFSTestUtil.waitForReplication}} to wait for the IBR
and not do the assert opertion first. (was: After HDFS-10426, the test
{{TestPendingInvalidateBlock#testPendingDeletion}} still fails sometimes. As
[~iwasakims] commented in HDFS-10426, we should add a line
{{DFSTestUtil.waitForReplication}} to wait for the IBR and not do the assert
opertion first.)
> Improve the logic for TestPendingInvalidateBlock#testPendingDeletion
> --------------------------------------------------------------------
>
> Key: HDFS-10990
> URL: https://issues.apache.org/jira/browse/HDFS-10990
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Yiqun Lin
> Assignee: Yiqun Lin
> Priority: Minor
> Attachments: HDFS-10990.001.patch
>
>
> After HDFS-10426, the test {{TestPendingInvalidateBlock#testPendingDeletion}}
> still fails sometimes. As [~iwasakims] commented in
> HDFS-10426(https://issues.apache.org/jira/browse/HDFS-10426?focusedCommentId=15539826&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15539826),
> we should add a line {{DFSTestUtil.waitForReplication}} to wait for the IBR
> and not do the assert opertion first.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]