xBis7 commented on code in PR #4362:
URL: https://github.com/apache/ozone/pull/4362#discussion_r1138687937
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHAWithData.java:
##########
@@ -107,7 +107,6 @@ public void testMultipartUpload() throws Exception {
}
@Test
- @Flaky("HDDS-8035")
public void testOMHAMetrics() throws InterruptedException,
TimeoutException, IOException {
waitForLeaderToBeReady();
Review Comment:
@neils-dev I agree and apart from that, I've also verified that during [OM
restart](https://github.com/apache/ozone/blob/ce418581a8b4533a47de741d543072903562a4c6/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHAWithData.java#L127-L128),
there is no leader change taking place.
Instead of restarting the leader, we should call
`getCluster().restartOzoneManager();` which restarts all OMs and triggers a new
leader election.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]