hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mberto...@apache.org
Subject [4/4] hbase git commit: HBASE-13285 Fix flaky getRegions() in TestAccessController.setUp()
Date Thu, 19 Mar 2015 18:53:40 GMT
HBASE-13285 Fix flaky getRegions() in TestAccessController.setUp()


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/cab71fd8
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/cab71fd8
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/cab71fd8

Branch: refs/heads/0.98
Commit: cab71fd86c36f98e444695150b8a4cf32df2d763
Parents: 8947187
Author: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
Authored: Thu Mar 19 18:53:08 2015 +0000
Committer: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
Committed: Thu Mar 19 18:53:08 2015 +0000

----------------------------------------------------------------------
 .../apache/hadoop/hbase/security/access/TestAccessController.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/cab71fd8/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController.java
index 646a0a6..9ee7450 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController.java
@@ -224,7 +224,7 @@ public class TestAccessController extends SecureTestUtil {
     htd.addFamily(hcd);
     htd.setOwner(USER_OWNER);
     admin.createTable(htd, new byte[][] { Bytes.toBytes("s") });
-    TEST_UTIL.waitTableEnabled(TEST_TABLE.getTableName().getName());
+    TEST_UTIL.waitUntilAllRegionsAssigned(TEST_TABLE.getTableName());
 
     HRegion region = TEST_UTIL.getHBaseCluster().getRegions(TEST_TABLE.getTableName()).get(0);
     RegionCoprocessorHost rcpHost = region.getCoprocessorHost();


Mime
View raw message