ChenSammi commented on a change in pull request #1772:
URL: https://github.com/apache/ozone/pull/1772#discussion_r555467229
##########
File path:
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestOzoneRpcClientAbstract.java
##########
@@ -976,6 +988,11 @@ public void testBucketUsedNamespace() throws IOException {
Assert.assertEquals(2L,
store.getVolume(volumeName).getBucket(bucketName).getUsedNamespace());
+ // Reset bucket quota, the original usedNamespace needs to remain the same
+ bucket.setQuota(OzoneQuota.parseQuota(Long.MAX_VALUE + " Bytes", 100));
+ Assert.assertEquals(2L,
+ store.getVolume(volumeName).getBucket(bucketName).getUsedNamespace());
+
Review comment:
@captainzmc would you add another test case for clear bucket & volume
qutoa cases?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]