You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2026/07/03 13:32:00 UTC

[jira] [Resolved] (HDDS-12807) Clean up TestKeyManagerImpl unit test

     [ https://issues.apache.org/jira/browse/HDDS-12807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Attila Doroszlai resolved HDDS-12807.
-------------------------------------
    Fix Version/s: 2.3.0
       Resolution: Implemented

> Clean up TestKeyManagerImpl unit test
> -------------------------------------
>
>                 Key: HDDS-12807
>                 URL: https://issues.apache.org/jira/browse/HDDS-12807
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: Ozone Manager, Snapshot, test
>    Affects Versions: 2.1.0
>            Reporter: Attila Doroszlai
>            Assignee: Chia-Chuan Ho
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.3.0
>
>
> Improvements in hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/TestKeyManagerImpl.java:
> - separate test cases for success and failure scenarios
> - create parameter object for tests using builder pattern to get rid of parameter number warnings
> - format method signatures with fix indent (do not align to end of method name)
> - add helper methods for  various {{String.format}} calls



--
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