[
https://issues.apache.org/jira/browse/HDFS-12762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16236412#comment-16236412
]
Steve Loughran commented on HDFS-12762:
---------------------------------------
If you look at hadoop-aws/pom.xml you can see how we make the surefire timeout
configurable and past scale values in. That lets us do very large scale upload
tests which can take 1+ hour, set them off, go and do something else, come back
and see the results. Works well except when my son complains that I've killed
his PS4 network experience. The long tests also helped us find & fix some
transient upload errors by making sure we were retrying stuff. You don't want
an hour long upload to fail in the final POST of a 1KB XML file needed to
finish the write
> Ozone: Enhance tests for OzoneFileSystem
> ----------------------------------------
>
> Key: HDFS-12762
> URL: https://issues.apache.org/jira/browse/HDFS-12762
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ozone
> Affects Versions: HDFS-7240
> Reporter: Mukul Kumar Singh
> Assignee: Mukul Kumar Singh
> Priority: Major
> Fix For: HDFS-7240
>
>
> This is based on [[email protected]]'s comments on HDFS-7240. This jira will
> address the testing section of the comments.
> {code}
> Testing
> Implement something like AbstractSTestS3AHugeFiles for scale tests, again
> with the ability to spec on the maven build how big the files to be created
> are. Developers should be able to ask for a test run with an 8GB test write,
> read and seek, to see what happens.
> Add a subclass of org.apache.hadoop.fs.FileSystemContractBaseTest,
> ideally org.apache.hadoop.fs.FSMainOperationsBaseTest. These test things
> which the newer contract tests haven't yet reimplimented.
> TestOzoneFileInterfaces
> Needs a Timeout rule for test timeouts.
> all your assertEquals strings are the wrong way round. sorry.
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]