You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/04/20 16:35:42 UTC

[GitHub] [ozone] symious commented on a diff in pull request #3325: HDDS-6620. Gatter AuditLog params for S3g

symious commented on code in PR #3325:
URL: https://github.com/apache/ozone/pull/3325#discussion_r854340970


##########
hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/TestS3GatewayAuditLog.java:
##########
@@ -101,7 +101,7 @@ public static void tearDown() {
   public void testHeadBucket() throws Exception {
     bucketEndpoint.head(bucketName);
     String expected = "INFO  | S3GAudit | ? | user=null | ip=null | " +
-        "op=HEAD_BUCKET {bucket=bucket} | ret=SUCCESS";
+        "op=HEAD_BUCKET {} | ret=SUCCESS";

Review Comment:
   This is because the context is null in unit test. So the details can not be shown here.
   I added the manual test result in the description, the details are normal.



-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org