xBis7 opened a new pull request, #4362: URL: https://github.com/apache/ozone/pull/4362
## What changes were proposed in this pull request? In #4140 , we added an integration test, `testOMHAMetrics` where we restart the leader OM and then wait for a new leader to be elected in order to check the metrics during leader change. A timeout, set to 80000 millis, was added on waiting for the new leader. For the OM failover, the failover can last minutes and therefore we need to expand the timeout for the test. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-8035 ## How was this patch tested? This patch was tested manually locally. `@Test` annotation was replaced with `@RepeatedTest(100)` and was run with Maven locally. With the original timeout set to 80000 millis the test failed, while with the increased timeout set to 300000 millis the test passed all 100 repetitions. ``` [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.hadoop.ozone.om.TestOzoneManagerHAWithData [INFO] Tests run: 107, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 444.62 s - in org.apache.hadoop.ozone.om.TestOzoneManagerHAWithData [INFO] [INFO] Results: [INFO] [INFO] Tests run: 107, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ ``` -- 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]
