This is an automated email from the ASF dual-hosted git repository.

weichiu 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 98b7299cd2c HDDS-2453. Add Freon tests for S3 MPU Keys (#8803)
98b7299cd2c is described below

commit 98b7299cd2cbca0a851c83a4ce9152052f249f41
Author: Wei-Chiu Chuang <[email protected]>
AuthorDate: Tue Jul 22 17:18:18 2025 -0700

    HDDS-2453. Add Freon tests for S3 MPU Keys (#8803)
    
    Generated-by: Google Gemini 2.5 Pro + Gemini Cli
---
 hadoop-ozone/dist/src/main/smoketest/s3/freon.robot         | 13 +++++++++++++
 .../java/org/apache/hadoop/ozone/freon/S3KeyGenerator.java  |  2 +-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/hadoop-ozone/dist/src/main/smoketest/s3/freon.robot 
b/hadoop-ozone/dist/src/main/smoketest/s3/freon.robot
index f87a9ba1a77..24ba88bba62 100644
--- a/hadoop-ozone/dist/src/main/smoketest/s3/freon.robot
+++ b/hadoop-ozone/dist/src/main/smoketest/s3/freon.robot
@@ -39,7 +39,20 @@ Freon S3BG
     ${result} =        Execute          ozone freon s3bg -e ${ENDPOINT_URL} -t 
${threads} -n ${n} -p ${prefix} ${args}
                        Should contain   ${result}       Successful executions: 
${n}
 
+Freon S3KG
+    [arguments]    ${prefix}=s3kg    ${n}=100    ${threads}=10   
${args}=${EMPTY}
+    ${result} =        Execute          ozone freon s3kg -e ${ENDPOINT_URL} -t 
${threads} -n ${n} -p ${prefix} --bucket ${BUCKET} ${args}
+                       Should contain   ${result}       Successful executions: 
${n}
+
 *** Test Cases ***
 Run Freon S3BG
     [Setup]    Setup aws credentials
     Freon S3BG   s3bg-${BUCKET}
+
+Run Freon S3KG
+    [Setup]    Setup aws credentials
+    Freon S3KG   s3kg-${BUCKET}
+
+Run Freon S3KG MPU
+    [Setup]    Setup aws credentials
+    Freon S3KG   s3kg-mpu-${BUCKET}  10  1  --multi-part-upload --parts=2 
--size=5242880
diff --git 
a/hadoop-ozone/freon/src/main/java/org/apache/hadoop/ozone/freon/S3KeyGenerator.java
 
b/hadoop-ozone/freon/src/main/java/org/apache/hadoop/ozone/freon/S3KeyGenerator.java
index 148c23886de..0c43923f51a 100644
--- 
a/hadoop-ozone/freon/src/main/java/org/apache/hadoop/ozone/freon/S3KeyGenerator.java
+++ 
b/hadoop-ozone/freon/src/main/java/org/apache/hadoop/ozone/freon/S3KeyGenerator.java
@@ -73,7 +73,7 @@ public class S3KeyGenerator extends S3EntityGenerator
   private int fileSize;
 
   @Option(names = {"--multi-part-upload"},
-      description = "User multi part upload",
+      description = "Use multi-part upload",
       defaultValue = "false")
   private boolean multiPart;
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to