kuenishi commented on a change in pull request #2763:
URL: https://github.com/apache/ozone/pull/2763#discussion_r735324546



##########
File path: 
hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/response/s3/multipart/TestS3MultipartUploadCompleteResponseWithFSO.java
##########
@@ -133,10 +133,57 @@ public void testAddDBToBatchWithParts() throws Exception {
     TestOMRequestUtils.addVolumeAndBucketToDB(volumeName, bucketName,
             omMetadataManager);
     createParentPath(volumeName, bucketName);
+    runAddDBToBatchWithParts(volumeName, bucketName, keyName, 0);
 
-    String multipartUploadID = UUID.randomUUID().toString();
+    // As 1 unused parts exists, so 1 unused entry should be there in delete
+    // table.
+    Assert.assertEquals(2, omMetadataManager.countRowsInTable(
+            omMetadataManager.getDeletedTable()));

Review comment:
       See my comment below in line 193 about contradiction between the comment 
 and the assertion.




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