Attempted fix for TestSplitTransactionOnCluster

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1070029 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-02-12 05:28:47 +00:00
parent 12fe439b8b
commit 5311df528e
1 changed files with 1 additions and 0 deletions

View File

@ -279,6 +279,7 @@ public class TestSplitTransactionOnCluster {
for (RegionServerThread rst: cluster.getRegionServerThreads()) { for (RegionServerThread rst: cluster.getRegionServerThreads()) {
HRegionServer hrs = rst.getRegionServer(); HRegionServer hrs = rst.getRegionServer();
if (hrs.getServerName().equals(notThisOne.getServerName())) continue; if (hrs.getServerName().equals(notThisOne.getServerName())) continue;
if (hrs.isStopping() || hrs.isStopped()) continue;
return hrs; return hrs;
} }
return null; return null;