ss77892 opened a new pull request, #10331: URL: https://github.com/apache/ozone/pull/10331
## Summary - Extends `TestOMHALeaderSpecificACLEnforcement` with 8 new test methods covering all operations changed in HDDS-13855 - Volume: `testVolumeDeleteAclEnforcementAfterLeadershipChange`, `testVolumeSetOwnerAclEnforcementAfterLeadershipChange`, `testVolumeSetQuotaAclEnforcementAfterLeadershipChange` - Bucket: `testBucketDeleteAclEnforcementAfterLeadershipChange`, `testBucketSetOwnerAclEnforcementAfterLeadershipChange`, `testBucketSetPropertyAclEnforcementAfterLeadershipChange` - Keys: `testKeysDeleteAclEnforcementAfterLeadershipChange`, `testKeysRenameAclEnforcementAfterLeadershipChange` - Key ACL (FSO): `testKeyAclOperationsEnforcementAfterLeadershipChangeWithFSO` ## Motivation Each test triggers an OM leadership change and then attempts an unauthorized operation. The test verifies that the request is rejected (throwing `OMException`) before a Ratis log entry is written, confirming that ACL enforcement now runs in `preExecute` on the new leader. ## Test plan - [ ] `TestOMHALeaderSpecificACLEnforcement` passes all new test methods ## Dependencies Depends on the three implementation PRs: - #10328 — Volume requests - #10329 — Bucket requests - #10330 — Key + Prefix requests Made with [Cursor](https://cursor.com) -- 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]
