Sigma-Ma opened a new pull request, #8929:
URL: https://github.com/apache/hbase/pull/8929

   JIRA: https://issues.apache.org/jira/browse/HBASE-29270.
   
   ## What changes were proposed in this pull request?
   
   Backport #8793 to `branch-2` using `StartMiniClusterOption` and 
`MiniHBaseCluster`. Give `testServerShutdownRecoveredQueue` a fresh HBase root 
directory, restore its temporary configuration, and shut down both mini 
clusters in class teardown.
   
   ## Why are the changes needed?
   
   The test starts the source cluster on the root created during class setup, 
where `hbase.version` already exists. The old teardown also leaves the peer DFS 
and both ZooKeeper clusters running.
   
   ## How was this patch tested?
   
   ```bash
   mvn -B -ntp -pl hbase-server -PrunMediumTests 
'-Dtest=TestReplicationSource#testServerShutdownRecoveredQueue' 
-Dsurefire.failIfNoSpecifiedTests=true -Dsurefire.rerunFailingTestsCount=0 test
   
   mvn -B -ntp -pl hbase-server -PrunMediumTests -Dtest=TestReplicationSource 
-Dsurefire.failIfNoSpecifiedTests=true -Dsurefire.rerunFailingTestsCount=0 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]

Reply via email to