You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "arunsarin85 (via GitHub)" <gi...@apache.org> on 2026/09/26 23:01:45 UTC
[PR] HDDS-12950. Refactor TestBucketList to reduce duplicated declarations [ozone]
arunsarin85 opened a new pull request, #11338:
URL: https://github.com/apache/ozone/pull/11338
## What changes were proposed in this pull request?
In TestBucketList, many tests repeated the same setup: create an OzoneClientStub, create S3 bucket "b1", add keys, and build a BucketEndpoint. This change centralizes that in a per-test setup(String... keys) helper, shared instance fields (client, bucketEndpoint), and a createKeys(OzoneClient, String...) helper. Tests that use the default "b1" bucket call setup(...) and use BUCKET_NAME instead of duplicating client/endpoint wiring. Tests that intentionally use another bucket name (for example "bucket" in max-keys validation) are left as-is.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-12950
## How was this patch tested?
mvn -pl :ozone-s3gateway -am test -Dtest=TestBucketList -DskipShade -DskipRecon -DskipDocs
--
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-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-12950. Refactor TestBucketList to reduce duplicated declarations [ozone]
Posted by "peterxcli (via GitHub)" <gi...@apache.org>.
peterxcli merged PR #11338:
URL: https://github.com/apache/ozone/pull/11338
--
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-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-12950. Refactor TestBucketList to reduce duplicated declarations [ozone]
Posted by "peterxcli (via GitHub)" <gi...@apache.org>.
peterxcli commented on PR #11338:
URL: https://github.com/apache/ozone/pull/11338#issuecomment-5895644119
@arunsarin85 thanks!
--
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-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org