This is an automated email from the ASF dual-hosted git repository.
smengcl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new a46d391d915 HDDS-16150. Fix error code in
testS3LifecycleConfigurationCreationFailed (#11045)
a46d391d915 is described below
commit a46d391d915833805c3aec99cd986bdcc757e451
Author: Vikash <[email protected]>
AuthorDate: Wed Aug 19 06:20:40 2026 +0530
HDDS-16150. Fix error code in testS3LifecycleConfigurationCreationFailed
(#11045)
---
.../java/org/apache/hadoop/ozone/s3/awssdk/v2/AbstractS3SDKV2Tests.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/hadoop-ozone/integration-test-s3/src/test/java/org/apache/hadoop/ozone/s3/awssdk/v2/AbstractS3SDKV2Tests.java
b/hadoop-ozone/integration-test-s3/src/test/java/org/apache/hadoop/ozone/s3/awssdk/v2/AbstractS3SDKV2Tests.java
index b452df51cdd..b0739c62eaa 100644
---
a/hadoop-ozone/integration-test-s3/src/test/java/org/apache/hadoop/ozone/s3/awssdk/v2/AbstractS3SDKV2Tests.java
+++
b/hadoop-ozone/integration-test-s3/src/test/java/org/apache/hadoop/ozone/s3/awssdk/v2/AbstractS3SDKV2Tests.java
@@ -2549,7 +2549,7 @@ public void testS3LifecycleConfigurationCreationFailed() {
.bucket(bucketName)
.lifecycleConfiguration(configuration)));
assertEquals(HttpURLConnection.HTTP_BAD_REQUEST, exception.statusCode());
- assertEquals(S3ErrorTable.INVALID_REQUEST.getCode(),
exception.awsErrorDetails().errorCode());
+ assertEquals(S3ErrorTable.INVALID_ARGUMENT.getCode(),
exception.awsErrorDetails().errorCode());
// Test 2: Non-existent bucket
final String nonExistentBucket = getBucketName("nonexistent");
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]