[
https://issues.apache.org/jira/browse/HDDS-17764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze updated HDDS-17764:
------------------------------
Description:
MockDatanodeDetails and MockPipeline are test utilities for creating *real*
DatanodeDetails and Pipeline objects but not mock objects (in the sense of
Mockito).
Calling them "mock" is misleading. These two classes are better to be renamed
to something like DatanodeDetailsTestUtils and PipelineTestUtils.
was:
MockDatanodeDetails and MockPipeline are test utilities for creating *real*
DatanodeDetails and Pipeline objects but not mock objects (in the sense of
Mockito).
Calling them "mock" are misleading. These two classes is better to be renamed
to DatanodeDetailsTestUtils and PipelineTestUtils.
> MockDatanodeDetails and MockPipeline are not mocks.
> ---------------------------------------------------
>
> Key: HDDS-17764
> URL: https://issues.apache.org/jira/browse/HDDS-17764
> Project: Apache Ozone
> Issue Type: Improvement
> Components: test
> Reporter: Tsz-wo Sze
> Priority: Minor
>
> MockDatanodeDetails and MockPipeline are test utilities for creating *real*
> DatanodeDetails and Pipeline objects but not mock objects (in the sense of
> Mockito).
> Calling them "mock" is misleading. These two classes are better to be
> renamed to something like DatanodeDetailsTestUtils and PipelineTestUtils.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]