NickJavaDev88 opened a new pull request, #10986:
URL: https://github.com/apache/ozone/pull/10986

   ## What changes were proposed in this pull request?
   This PR adds basic S3 Bucket Lifecycle CRUD integration tests to 
`AbstractS3SDKV2Tests` to achieve test parity with `AbstractS3SDKV1Tests`.
   
   Key observations ported for AWS SDK v2:
   - `getBucketLifecycleConfiguration` throws an `S3Exception` (404 / 
`NoSuchLifecycleConfiguration`) when no lifecycle configuration exists on a 
bucket (unlike SDK v1 which returned `null`).
   - `deleteBucketLifecycle` remains idempotent (204 No Content) when deleting 
a non-existent configuration, matching the fix from HDDS-16005.
   - Creating an invalid rule fails with `InvalidRequest` (400).
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-16071
   
   ## How was this patch tested?
   - Static checks (`checkstyle.sh`, `rat.sh`, `author.sh`) passed.
   - Ran integration tests locally: `mvn -pl :ozone-integration-test-s3 test 
-Dtest=TestS3SDK` (194 tests passed).
   - CI run: https://github.com/NickJavaDev88/ozone/actions/runs/31397269975
     *(Note: The single failure in `acceptance` is a known flaky test where SCM 
gets stuck in safe mode, unrelated to S3 SDK changes).*
   


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