hemantk-12 commented on code in PR #5844:
URL: https://github.com/apache/ozone/pull/5844#discussion_r1434406561
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHA.java:
##########
@@ -336,12 +337,11 @@ protected void createVolumeTest(boolean checkSuccess)
throws Exception {
// ConnectException. Otherwise, we would get a RemoteException from the
// last running OM as it would fail to get a quorum.
if (e instanceof RemoteException) {
- GenericTestUtils.assertExceptionContains("OMNotLeaderException", e);
+ assertThat(e).hasMessageContaining("OMNotLeaderException");
Review Comment:
It seems like a flaky test because it passed on fork branch:
* https://github.com/hemantk-12/ozone/actions/runs/7288114820
* https://github.com/hemantk-12/ozone/actions/runs/7279164150
Also previous run passed:
* https://github.com/apache/ozone/actions/runs/7284248479
Are we supposed to stop any two nodes
[here](https://github.com/apache/ozone/blob/master/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHAWithStoppedNodes.java#L115-L116)
or follower nodes?
--
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]