[ 
https://issues.apache.org/jira/browse/HDFS-8403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDFS-8403:
--------------------------------
    Attachment: HDFS-8403.01.patch

Add a test-only config to skip create retries in the NN client proxy.

Little ugly so I am open to better suggestions. Cuts the test runtime from ~300 
to 3 seconds for me.

I didn't look at the other test cases in the same class. They may benefit from 
a similar fix.

> Eliminate retries in TestFileCreation#testOverwriteOpenForWrite
> ---------------------------------------------------------------
>
>                 Key: HDFS-8403
>                 URL: https://issues.apache.org/jira/browse/HDFS-8403
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 2.7.0
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>         Attachments: HDFS-8403.01.patch
>
>
> TestFileCreation#testOverwriteOpenForWrite attempts 5 retries to verify the 
> failure case.
> The retries are not necessary to verify correct behavior.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to