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

   ## What changes were proposed in this pull request?
   Refactor test cases for better organization and code reuse.
   
   Please describe your PR in detail:
   * Grouped related test cases using `@Nested` for clearer test structure.
   * Extracted common object setup to reduce duplicated code, including:
     * S3 bucket creation
     * `SdkHttpClient` creation
     * `S3Presigner` creation
     * Constants extraction:
       * Bucket name
       * Content for upload
       * `Duration` for presigned url expiration
   * Introduced a shared helper method (`openHttpURLConnection`) for reuse 
across tests.
   
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-13678
   
   ## How was this patch tested?
   https://github.com/hevinhsu/ozone/actions/runs/17721451820


-- 
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: issues-unsubscr...@ozone.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to