hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From la...@apache.org
Subject svn commit: r1429421 - /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionOnCluster.java
Date Sat, 05 Jan 2013 23:13:29 GMT
Author: larsh
Date: Sat Jan  5 23:13:29 2013
New Revision: 1429421

URL: http://svn.apache.org/viewvc?rev=1429421&view=rev
Log:
HBASE-7483 Addendum

Modified:
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionOnCluster.java

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionOnCluster.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionOnCluster.java?rev=1429421&r1=1429420&r2=1429421&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionOnCluster.java
(original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionOnCluster.java
Sat Jan  5 23:13:29 2013
@@ -86,7 +86,8 @@ public class TestHRegionOnCluster {
       do {
         Thread.sleep(10);
       } while (cluster.getServerWith(regionInfo.getRegionName()) == originServerNum ||
-          cluster.getMaster().getAssignmentManager().getRegionServerOfRegion(regionInfo)
== null);
+          !targetServer.getServerName().equals(
+              cluster.getMaster().getAssignmentManager().getRegionServerOfRegion(regionInfo)));
 
       // Put data: r2->v2
       putDataAndVerify(table, "r2", FAMILY, "v2", 2);



Mime
View raw message