You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Priyesh Karatha (Jira)" <ji...@apache.org> on 2026/07/22 16:29:00 UTC
[jira] [Resolved] (HDDS-13774) Reduce duplicate codes used in TestNSSummaryEndpoint tests and restructure to handle replication properly
[ https://issues.apache.org/jira/browse/HDDS-13774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Priyesh Karatha resolved HDDS-13774.
------------------------------------
Fix Version/s: 2.3.0
Resolution: Fixed
> Reduce duplicate codes used in TestNSSummaryEndpoint tests and restructure to handle replication properly
> ---------------------------------------------------------------------------------------------------------
>
> Key: HDDS-13774
> URL: https://issues.apache.org/jira/browse/HDDS-13774
> Project: Apache Ozone
> Issue Type: Test
> Components: Ozone Recon
> Reporter: Priyesh Karatha
> Assignee: Priyesh Karatha
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.3.0
>
>
> I noticed that the following test classes contain a lot of duplicate code:
> * {{TestNSSummaryEndpointWithFSO}}
> * {{TestNSSummaryEndpointWithLegacy}}
> * {{TestNSSummaryEndpointWithOBSAndLegacy}}
> It would be better to refactor them into a common test class that accepts the layout type as a parameter, or organize them in a more structured and understandable way to avoid redundancy and also handle replication related test cases in more meaningful way
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org