Mukul Kumar Singh created HDFS-12762:
----------------------------------------
Summary: 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]