guihecheng commented on a change in pull request #2083:
URL: https://github.com/apache/ozone/pull/2083#discussion_r617139868



##########
File path: 
hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/upgrade/TestOMUpgradeFinalizer.java
##########
@@ -188,9 +198,11 @@ public void testFinalizationWithUpgradeAction() throws 
Exception {
     if (finalizer.isFinalizationDone()) {
       when(versionManager.getUpgradeState()).thenReturn(FINALIZATION_DONE);
     }
-    StatusAndMessages status = finalizer.reportStatus(CLIENT_ID, false);
+    StatusAndMessages status = finalizer.reportStatusAndMsgs(CLIENT_ID, false);
     assertEquals(FINALIZATION_DONE, status.status());
     assertFalse(status.msgs().isEmpty());
+    Status ret = finalizer.reportStatus();
+    assertEquals(status, ret);

Review comment:
       @fapifta thanks for the catch, I'll have better names for the variables 
in next push.




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

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to