Sigma-Ma opened a new pull request, #8793: URL: https://github.com/apache/hbase/pull/8793
JIRA: https://issues.apache.org/jira/browse/HBASE-29270. ## What changes were proposed in this pull request? Use a fresh HBase root directory for testServerShutdownRecoveredQueue, restore its temporary configuration in finally, and shut down both mini clusters during class teardown. ## Why are the changes needed? The test reuses the root created by class setup, causing a conflict when writing hbase.version. Temporary settings and incomplete cluster cleanup can also affect other tests. ## How was this patch tested? ```bash mvn -pl hbase-server spotless:check for run in 1 2 3; do mvn -B -ntp -pl hbase-server -PrunMediumTests '-Dtest=TestReplicationSource#testServerShutdownRecoveredQueue' -Dsurefire.failIfNoSpecifiedTests=true -Dsurefire.rerunFailingTestsCount=0 "-Dsurefire.reportsDirectory=/tmp/hbase-29270/fixed-${run}-reports" test || exit 1 done mvn -B -ntp -pl hbase-server -PrunMediumTests -Dtest=TestReplicationSource -Dsurefire.failIfNoSpecifiedTests=true -Dsurefire.rerunFailingTestsCount=0 -Dsurefire.reportsDirectory=/tmp/hbase-29270/full-class-reports test -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
