anuragp010 commented on code in PR #11923:
URL: https://github.com/apache/ozone/pull/11923#discussion_r4467011619


##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOMStoragePolicyUpgrade.java:
##########
@@ -137,17 +133,16 @@ private void preFinalizationChecks() throws Exception {
         .getStoragePolicy()).isNull();
   }
 
-  /**
-   * Trigger OM upgrade finalization and block until it completes. The client 
id
-   * must match the one {@link OMUpgradeTestUtils#waitForFinalization} polls
-   * with.
-   */
+  /** Trigger OM upgrade finalization and block until it completes. */
   private void finalizeOMUpgrade() throws Exception {
-    omClient.finalizeUpgrade("finalize-test");
+    omClient.finalizeUpgrade();
     waitForFinalization(omClient);
   }
 
   private void postFinalizationChecks() throws Exception {
+    
assertThat(cluster.getOzoneManager().getVersionManager().getApparentVersion())
+        .isEqualTo(OzoneManagerVersion.SOFTWARE_VERSION);
+
     String created = createBucket(OzoneStoragePolicy.HOT, true);

Review Comment:
   Sure. I have added the same along with a test to ensure no default storage 
policy is sent by the client.



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

Reply via email to