[
https://issues.apache.org/jira/browse/HDDS-15750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18096176#comment-18096176
]
Attila Doroszlai commented on HDDS-15750:
-----------------------------------------
[~ivandika], for TestOzoneShellHAWithFollowerRead:
# is it necessary to run all tests from base class TestOzoneShellHA, or
# is a subset of tests enough, or
# are all tests irrelevant and it extends TestOzoneShellHA only to get the
infra plumbing (KMS, cluster)?
I'd like to avoid unnecessary tests to reduce run time.
> Speed up TestOzoneShellHA and subclasses
> ----------------------------------------
>
> Key: HDDS-15750
> URL: https://issues.apache.org/jira/browse/HDDS-15750
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: test
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Major
>
> {code}
> Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 65.76 s --
> in org.apache.hadoop.ozone.shell.TestOzoneShellHA
> Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 65.87 s --
> in org.apache.hadoop.ozone.shell.TestOzoneShellHAWithFSO
> Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 106.8 s --
> in org.apache.hadoop.ozone.shell.TestOzoneShellHAWithFollowerRead
> {code}
> - TestOzoneShellHAWithFSO completely duplicates execution, since FSO is the
> default layout anyway.
> - Not sure if {{volume list}} really needs to be executed each time 100x in
> TestOzoneShellHAWithFollowerRead.
> TestOzoneShellHA should not be a parent class.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]