[
https://issues.apache.org/jira/browse/HDDS-12047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Andika updated HDDS-12047:
-------------------------------
Description:
TestOzoneClientMultipartUploadWithFSO contains a lot general MPU tests although
the test class was intended for FSO. It also contains some duplicates with
OzoneRpcClientTests (e.g. testMultipartUploadWithPartsLessThanMinSize). There
are cases where MPU related patches only added test cases to
TestOzoneClientMultipartUploadWithFSO but not OzoneRpcClientTests
It's better to merge the tests to OzoneRpcClientTests since it supports
BucketLayout parameterization so that the tests do not need to build a new
MiniOzoneCluster for each BucketLayout tests and also ensure that new MPU
features are tested in both bucket layout.
For bucket layout specific tests, we can simply use Assumptions.assumeTrue to
only run the test if the bucket layout is correct.
was:
TestOzoneClientMultipartUploadWithFSO contains a lot general MPU tests although
the test class was intended for FSO. It also contains some duplicates with
OzoneRpcClientTests (e.g. testMultipartUploadWithPartsLessThanMinSize). There
are cases where MPU related patches only added test cases to
TestOzoneClientMultipartUploadWithFSO but not OzoneRpcClientTests
It's better to merge the tests to OzoneRpcClientTests since it supports
BucketLayout parameterization so that the tests do not need to build a new
MiniOzoneCluster for each BucketLayout tests and also ensure that new MPU
features are tested in both bucket layout.
> Merge TestOzoneClientMultipartUploadWithFSO to OzoneRpcClientTests
> ------------------------------------------------------------------
>
> Key: HDDS-12047
> URL: https://issues.apache.org/jira/browse/HDDS-12047
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: test
> Reporter: Ivan Andika
> Priority: Major
>
> TestOzoneClientMultipartUploadWithFSO contains a lot general MPU tests
> although the test class was intended for FSO. It also contains some
> duplicates with OzoneRpcClientTests (e.g.
> testMultipartUploadWithPartsLessThanMinSize). There are cases where MPU
> related patches only added test cases to
> TestOzoneClientMultipartUploadWithFSO but not OzoneRpcClientTests
> It's better to merge the tests to OzoneRpcClientTests since it supports
> BucketLayout parameterization so that the tests do not need to build a new
> MiniOzoneCluster for each BucketLayout tests and also ensure that new MPU
> features are tested in both bucket layout.
> For bucket layout specific tests, we can simply use Assumptions.assumeTrue to
> only run the test if the bucket layout is correct.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]