Skip to content

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

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

Sigma-Ma wants to merge 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

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