sadanand48 commented on a change in pull request #3227:
URL: https://github.com/apache/ozone/pull/3227#discussion_r833900958



##########
File path: 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/fs/ozone/TestRootedOzoneFileSystem.java
##########
@@ -1455,6 +1458,9 @@ public void testRenameFile() throws Exception {
     assertTrue("Renamed failed: /dir/file1", getFs().exists(file1Destin));
     FileStatus[] fStatus = getFs().listStatus(dirPath);
     assertEquals("Renamed failed", 1, fStatus.length);
+
+    // We cannot delete a non-empty bucket.
+    getFs().delete(dirPath, true);

Review comment:
       Yes you are right, I just realised that the test was passing earlier 
because of incorrect isBucketEmpty() implementation for FSO, please revert the 
change, We can correct these in HDDS-6414




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