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

Gargi Jaiswal resolved HDDS-16941.
----------------------------------
    Fix Version/s: 2.3.0
       Resolution: Fixed

> Add unit tests for ozone om bootstrap CLI in TestOzoneManagerStarter
> --------------------------------------------------------------------
>
>                 Key: HDDS-16941
>                 URL: https://issues.apache.org/jira/browse/HDDS-16941
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: Ozone Manager
>            Reporter: Aayush Gupta
>            Assignee: Aayush Gupta
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 2.3.0
>
>
> OzoneManagerStarter implements ozone om --bootstrap (and optional --force) 
> for OM HA bootstrap. TestOzoneManagerStarter already unit-tests start and 
> --init with a mocked OMStarterInterface, but --bootstrap is not covered—the 
> mock still has a TODO and does not record calls.
> Add tests in the same style as the init tests: extend the mock to track 
> bootstrap(conf, force), then verify --bootstrap, --bootstrap --force, invalid 
> options, and error exit codes. Test-only change; no cluster or production 
> logic changes.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to