hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1070029 - /hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java
Date Sat, 12 Feb 2011 05:28:48 GMT
Author: stack
Date: Sat Feb 12 05:28:47 2011
New Revision: 1070029

URL: http://svn.apache.org/viewvc?rev=1070029&view=rev
Log:
Attempted fix for TestSplitTransactionOnCluster

Modified:
    hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java

Modified: hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java?rev=1070029&r1=1070028&r2=1070029&view=diff
==============================================================================
--- hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java
(original)
+++ hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java
Sat Feb 12 05:28:47 2011
@@ -279,6 +279,7 @@ public class TestSplitTransactionOnClust
     for (RegionServerThread rst: cluster.getRegionServerThreads()) {
       HRegionServer hrs = rst.getRegionServer();
       if (hrs.getServerName().equals(notThisOne.getServerName())) continue;
+      if (hrs.isStopping() || hrs.isStopped()) continue;
       return hrs;
     }
     return null;



Mime
View raw message