[
https://issues.apache.org/jira/browse/HDFS-9403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15065049#comment-15065049
]
Zhe Zhang commented on HDFS-9403:
---------------------------------
Thanks for the patch Rui. The 10 mins timeout is a good starting point. But I
think we can set it via rule:
https://github.com/junit-team/junit/wiki/Timeout-for-tests
> 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)