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:
parent
12fe439b8b
commit
5311df528e
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue