[
https://issues.apache.org/jira/browse/HDFS-9403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15065993#comment-15065993
]
GAO Rui commented on HDFS-9403:
-------------------------------
Thank you very much for teach me about Junit Rule. I think generally we could
set timeout rule for test classes as 1 min. And, for those test classes which
including test method timeout longer than 1 min, we could set the timeout rule
of those classes as long as the longest test method timeout. I will upload a
new patch soon.
> Erasure coding: some EC tests are missing timeout
> -------------------------------------------------
>
> Key: HDFS-9403
> URL: https://issues.apache.org/jira/browse/HDFS-9403
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: erasure-coding, test
> Affects Versions: 3.0.0
> Reporter: Zhe Zhang
> Assignee: GAO Rui
> Priority: Minor
> Attachments: HDFS-9403-origin-trunk.00.patch,
> HDFS-9403-origin-trunk.01.patch
>
>
> EC data writing pipeline is still being worked on, and bugs could introduce
> program hang. We should add a timeout for all tests involving striped
> writing. I see at least the following:
> * {{TestErasureCodingPolicies}}
> * {{TestFileStatusWithECPolicy}}
> * {{TestDFSStripedOutputStream}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)