Skip to content

HDDS-15582. Skip performance test of unused batchDeleteSCMStatesForContainers#10551

Merged
adoroszlai merged 2 commits into
apache:masterfrom
adoroszlai:HDDS-15582
Jun 23, 2026
Merged

HDDS-15582. Skip performance test of unused batchDeleteSCMStatesForContainers#10551
adoroszlai merged 2 commits into
apache:masterfrom
adoroszlai:HDDS-15582

Conversation

@adoroszlai

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

ContainerHealthSchemaManager.batchDeleteSCMStatesForContainers is only called from tests, production code uses replaceUnhealthyContainerRecordsAtomically instead. This PR disables TestUnhealthyContainersDerbyPerformance test case for batchDeleteSCMStatesForContainers (and follow-up testCountByStateAfterFullDelete) in CI to save time. The test can still be run locally.

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

How was this patch tested?

Before:

Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 314.6 s -- in org.apache.hadoop.ozone.recon.persistence.TestUnhealthyContainersDerbyPerformance

After:

Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 199.9 s -- in org.apache.hadoop.ozone.recon.persistence.TestUnhealthyContainersDerbyPerformance

https://github.com/adoroszlai/ozone/actions/runs/27824224044/job/82350278873#step:13:3745

@adoroszlai adoroszlai requested a review from devmadhuu June 19, 2026 12:57
@adoroszlai adoroszlai self-assigned this Jun 19, 2026
@adoroszlai adoroszlai changed the title HDDS-15582. Further speed up TestUnhealthyContainersDerbyPerformance HDDS-15582. Skip performance test of unused batchDeleteSCMStatesForContainers Jun 21, 2026
@adoroszlai

Copy link
Copy Markdown
Contributor Author

@devmadhuu please take a look

@devmadhuu devmadhuu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @adoroszlai for the patch. LGTM +1.

@adoroszlai adoroszlai merged commit 74e454b into apache:master Jun 23, 2026
61 of 62 checks passed
@adoroszlai

Copy link
Copy Markdown
Contributor Author

Thanks @devmadhuu for the review.

@adoroszlai adoroszlai deleted the HDDS-15582 branch June 23, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants