sadanand48 commented on code in PR #4008:
URL: https://github.com/apache/ozone/pull/4008#discussion_r1037829088


##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/fs/ozone/TestDirectoryDeletingServiceWithFSO.java:
##########
@@ -231,13 +231,14 @@ public void testDeleteWithLargeSubPathsThanBatchSize() 
throws Exception {
 
     assertSubPathsCount(dirDeletingService::getMovedFilesCount, 15);
     // 15 subDir + 3 parentDir
-    assertSubPathsCount(dirDeletingService::getMovedDirsCount, 18);
-    assertSubPathsCount(dirDeletingService::getDeletedDirsCount, 19);
+    // handled 5 move dir or file as capacity as recursive
+    assertSubPathsCount(dirDeletingService::getMovedDirsCount, 17);
+    assertSubPathsCount(dirDeletingService::getDeletedDirsCount, 25);

Review Comment:
   Total number of subdirectories under appRoot i.e the directory on which 
delete is issued is 18 (3 immediate child * 5  + 3 + 1 (appRoot itself) makes 
the total recursive directory count 19.  Total directories = 19 but deleted 
directories count is 25 ?



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