Attila Doroszlai created HDDS-9524:
--------------------------------------

             Summary: Clean up wait for leader OM in integration tests
                 Key: HDDS-9524
                 URL: https://issues.apache.org/jira/browse/HDDS-9524
             Project: Apache Ozone
          Issue Type: Improvement
          Components: test
            Reporter: Attila Doroszlai


{{MiniOzoneHAClusterImpl}}:

* {{getOMLeader()}} returns current OM leader.
* {{getOMLeader(boolean)}} optionally waits until OM leader is elected

There are some tests that implement the same "wait for leader OM" logic using 
the non-waiting {{getOMLeader()}}.

Goals of this task:
 * rename {{getOMLeader(boolean)}} to {{waitForLeaderOM()}} (the method is only 
called with {{true}})
 * replace duplicated wait logic in tests with a call to {{waitForLeaderOM()}}



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