Skip to content

[branch-2] HBASE-29620 Refactor TestRSGroupsKillRS - #8925

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

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

Conversation

@Sigma-Ma

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Backport #8623 to branch-2. Keep the tests in hbase-rsgroup and use the branch's RSGroupAdmin API.

Why are the changes needed?

The mixed-version test still changes the JVM-wide VersionInfo through reflection on branch-2. The backport uses a test HMaster to report an older version for just the target RegionServer.

How was this patch tested?

mvn -B -ntp -pl hbase-rsgroup -PrunLargeTests -Dtest=TestRSGroupsKillRS,TestRSGroupsKillRSWithDifferentVersions -Dsurefire.failIfNoSpecifiedTests=true -Dsurefire.rerunFailingTestsCount=0 test

mvn -B -ntp -pl hbase-common -PrunSmallTests -Dtest=TestVersionInfo -Dsurefire.failIfNoSpecifiedTests=true -Dsurefire.rerunFailingTestsCount=0 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