[
https://issues.apache.org/jira/browse/HDDS-15750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18096360#comment-18096360
]
Ivan Andika commented on HDDS-15750:
------------------------------------
[~adoroszlai] Thanks for helping with the test
> is it necessary to run all tests from base class TestOzoneShellHA
Previously seems we extend this so that we can check that linearizability read
of all the tests in TestOzoneShellHA when OM allows follower linearizable read.
If it passes means that the linearizable read is mostly held.
> Not sure if {{volume list}} really needs to be executed each time 100x in
>TestOzoneShellHAWithFollowerRead.
This might be unnecessary. The point of 100 is to create some clients that
might point to followers since we can't seem to set the proxy by using
changeInitialProxyForTest.
I think we can simply remove / migrate the test and use
TestOzoneManagerHAFollowerReadWithAllRunning instead which won't need to
recreate the shell all the 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]