[
https://issues.apache.org/jira/browse/HDFS-10805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15445025#comment-15445025
]
Gergely Novák commented on HDFS-10805:
--------------------------------------
The attached patch reduced the test's runtime to [10
seconds|https://builds.apache.org/job/PreCommit-HDFS-Build/16548/testReport/org.apache.hadoop.hdfs/TestHDFSFileSystemContract/]
from 1 min 45 sec. It also includes some minor refactors and an extra check
for the appended content (previously only the length of the content was
asserted). The failed unit tests are unrelated to the patch.
> Reduce runtime for append test
> ------------------------------
>
> Key: HDFS-10805
> URL: https://issues.apache.org/jira/browse/HDFS-10805
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: test
> Reporter: Gergely Novák
> Priority: Minor
> Attachments: HDFS-10805.001.patch
>
>
> {{testAppend}} takes by far the most time of test suite
> {{TestHDFSFileSystemContract}}, more than 1 min 45 sec (while all the other
> tests run under 3 seconds). In this test we perform 500 appends, which takes
> a lot of time. I suggest to reduce the number of appends as it won't change
> the test's strength, only its runtime.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]