Copilot commented on code in PR #11034:
URL: https://github.com/apache/ozone/pull/11034#discussion_r3794763606
##########
hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/request/lifecycle/TestOMLifecycleSaveScanStateRequest.java:
##########
@@ -54,8 +54,8 @@ public void testPreExecuteAdminCheck() throws Exception {
when(versionManager.getMetadataLayoutVersion()).thenReturn(maxLayoutVersion());
when(ozoneManager.getVersionManager()).thenReturn(versionManager);
- // Test when ACLs are enabled but user is not admin
- when(ozoneManager.getAclsEnabled()).thenReturn(true);
+ // Test when admin authorization is enabled but user is not admin
Review Comment:
There is trailing whitespace on the blank line between setting the version
manager and the first test comment. This can trigger style/lint failures and
should be removed.
--
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]