Skip to content

HDDS-12807. Clean up TestKeyManagerImpl unit test#10640

Open
echonesis wants to merge 1 commit into
apache:masterfrom
echonesis:HDDS-12807
Open

HDDS-12807. Clean up TestKeyManagerImpl unit test#10640
echonesis wants to merge 1 commit into
apache:masterfrom
echonesis:HDDS-12807

Conversation

@echonesis

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This PR cleans up TestKeyManagerImpl by replacing the long parameter lists in the parameterized table iterator tests with a small TableIteratorTestCase builder.
The change also separates successful and invalid table iterator cases, so the expected exception path is tested explicitly instead of being mixed into the common assertion flow.

Generated-by: OpenAI Codex (GPT-5)

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-12807

How was this patch tested?

Tested with:

mvn clean test -pl :ozone-manager -am \
  -Dtest=TestKeyManagerImpl \
  -DskipShade -DskipRecon -DskipDocs

GitHub Actions CI: https://github.com/echonesis/ozone/actions/runs/28430712787

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant