ayushtkn commented on a change in pull request #3219:
URL: https://github.com/apache/ozone/pull/3219#discussion_r831781563



##########
File path: 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHAMetadataOnly.java
##########
@@ -318,32 +318,34 @@ public void testReadRequest() throws Exception {
     }
   }
 
-  @Flaky("This test randomly failing. Let's enable once its fixed.")
   @Test
   public void testListVolumes() throws Exception {
     String userName = UserGroupInformation.getCurrentUser().getUserName();
     String adminName = userName;
     ObjectStore objectStore = getObjectStore();
 
+    String prefix = "vol-" + RandomStringUtils.randomNumeric(10) + "-";
+    VolumeArgs createVolumeArgs = VolumeArgs.newBuilder()
+        .setOwner(userName)
+        .setAdmin(adminName)

Review comment:
       I think you just pulled this up from the loop, but I guess the 
``adminName`` is redundant with userName.
   Could have dropped ``String adminName = userName;`` and just used userName 
instead...
   Just sharing to see if I didn't misunderstood. :)




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