Skip to content

[branch-2] HBASE-30096 Fix flaky TestHRegion tests - #8923

Merged
charlesconnell merged 1 commit into
apache:branch-2from
Sigma-Ma:HBASE-30096-backport-branch-2
Nov 23, 2026
Merged

charlesconnell merged 1 commit into
apache:branch-2from
Sigma-Ma:HBASE-30096-backport-branch-2

Conversation

@Sigma-Ma

Copy link
Copy Markdown
Contributor

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

What changes were proposed in this pull request?

Backport #8577. Move the concurrent region tests into separate classes for both MemStore configurations. Preserve the region-closing assertions, stop worker threads during cleanup, and limit StoreFile growth in the increment and append tests. Adapt the moved tests to the HBase 2.x testing and cell APIs.

Why are the changes needed?

A failed test could hang during cleanup or leave workers running. 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 -Dhadoop.profile=3.0 -PrunVerySlowRegionServerTests -Dsurefire.rerunFailingTestsCount=0 -Dtest=TestHRegion,TestHRegionWithInMemoryFlush,TestHRegionConcurrency,TestHRegionConcurrencyWithInMemoryFlush test

@charlesconnell
charlesconnell merged commit 5b1cfcb into apache:branch-2 Nov 23, 2026
24 of 25 checks passed
@Sigma-Ma
Sigma-Ma deleted the HBASE-30096-backport-branch-2 branch November 24, 2026 09:06
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.

2 participants