peterxcli commented on code in PR #10202:
URL: https://github.com/apache/ozone/pull/10202#discussion_r3213012877


##########
hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/client/OzoneBucketStub.java:
##########
@@ -158,7 +160,6 @@ public void close() throws IOException {
                 UserGroupInformation.getCurrentUser().getShortUserName(),
                 tags
             ));
-            super.close();

Review Comment:
   `super.close()` runs the output stream pre-commit hooks. Previously the stub 
recorded the key in `keyContents/keyDetails` before those hooks ran, so a 
failing pre-commit could still leave the key visible in the test stub.



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