adoroszlai commented on code in PR #8472:
URL: https://github.com/apache/ozone/pull/8472#discussion_r2094040504
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOmAcls.java:
##########
@@ -204,6 +208,58 @@ public void testSetACLPermissionDenied() throws Exception {
verifyAuditLog(OMAction.SET_ACL, AuditEventStatus.FAILURE);
}
+ @Test
+ public void testSetlACLKeyPermissionDenied() throws Exception {
+ OzoneBucket bucket = TestDataUtil.createVolumeAndBucket(client);
+ String keyName = "testKey";
+ TestDataUtil.createKey(bucket, "testKey",
"testcontent".getBytes(StandardCharsets.UTF_8));
Review Comment:
```suggestion
TestDataUtil.createKey(bucket, keyName,
"testcontent".getBytes(StandardCharsets.UTF_8));
```
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOmAcls.java:
##########
@@ -204,6 +208,58 @@ public void testSetACLPermissionDenied() throws Exception {
verifyAuditLog(OMAction.SET_ACL, AuditEventStatus.FAILURE);
}
+ @Test
+ public void testSetlACLKeyPermissionDenied() throws Exception {
Review Comment:
There is also a typo in the current name, so let's rename as @ivandika3
suggested.
```suggestion
public void testKeyACLOpsPermissionDenied() throws Exception {
```
--
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]