Skip to content

[branch-3.0] HBASE-30096 Fix flaky TestHRegion tests - #8922

Open
Sigma-Ma wants to merge 1 commit into
apache:branch-3.0from
Sigma-Ma:HBASE-30096-backport-branch-3.0
Open

Sigma-Ma wants to merge 1 commit into
apache:branch-3.0from
Sigma-Ma:HBASE-30096-backport-branch-3.0

Conversation

@Sigma-Ma

@Sigma-Ma Sigma-Ma commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

JIRA: https://issues.apache.org/jira/browse/HBASE-30096

What changes were proposed in this pull request?

Backport #8577 to branch-3.0. Move the concurrent region tests into separate classes for both MemStore configurations, preserve the region-closing assertions, and bound worker cleanup and StoreFile growth. The cherry-pick required resolving an import conflict in TestHRegion.java.

Why are the changes needed?

A failed test could leave background workers running or hang while waiting for them to exit. Repeated flushes could also accumulate StoreFiles and slow down the increment and append tests.

How was this patch tested?

mvn -B -ntp -pl hbase-server -am -PrunVerySlowRegionServerTests -Dsurefire.rerunFailingTestsCount=0 -Dtest=TestHRegion,TestHRegionWithInMemoryFlush,TestHRegionConcurrency,TestHRegionConcurrencyWithInMemoryFlush test

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