linyiqun commented on a change in pull request #1706:
URL: https://github.com/apache/ozone/pull/1706#discussion_r545533657



##########
File path: 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestOzoneRpcClientAbstract.java
##########
@@ -961,19 +960,18 @@ public void testBucketUsedNamespace() throws IOException {
 
     try {
       writeKey(bucket, key3, ONE, value, value.length());
+      Assert.fail("Write key should be failed");
     } catch (IOException ex) {
-      countException++;
       GenericTestUtils.assertExceptionContains("QUOTA_EXCEEDED", ex);
     }
 
-    // Write failed, bucket usedBytes should remain as 1
+    // Write failed, bucket usedBytes should remain as 2

Review comment:
       Nit: usedBytes -> usedNamespace




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

Reply via email to