[ 
https://issues.apache.org/jira/browse/HDFS-6638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14054813#comment-14054813
 ] 

Liang Xie commented on HDFS-6638:
---------------------------------

with attached patch, we could reduce more than 2.5 minutes.
i set the retry value to 10ms instead of 0, just considering i am not familiar 
with those modified testing, so probably will have a crazy loop happened:)
ps: TestEncryptedTransfer#testLongLivedReadClientAfterRestart seems failed 
after i tune the setting to 10ms, so i omit it in current patch.

> shorten test run time with a smaller retry timeout setting
> ----------------------------------------------------------
>
>                 Key: HDFS-6638
>                 URL: https://issues.apache.org/jira/browse/HDFS-6638
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: test
>    Affects Versions: 3.0.0
>            Reporter: Liang Xie
>            Assignee: Liang Xie
>         Attachments: HDFS-6638.txt
>
>
> similiar with HDFS-6614, i think it's a general test duration optimization 
> tip, so i grep "IOException, will wait for" from a full test run under hdfs 
> project, found several test cases could be optimized, so made a simple patch.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to