HBASE-8232. TestAccessController occasionally fails with IndexOutOfBoundsException

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1462996 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2013-03-31 15:57:31 +00:00
parent 7226bff5c4
commit abee4b2756
1 changed files with 1 additions and 0 deletions

View File

@ -168,6 +168,7 @@ public class TestAccessController {
htd.addFamily(new HColumnDescriptor(TEST_FAMILY));
htd.setOwner(USER_OWNER);
admin.createTable(htd);
TEST_UTIL.waitTableEnabled(TEST_TABLE);
HRegion region = TEST_UTIL.getHBaseCluster().getRegions(TEST_TABLE).get(0);
RegionCoprocessorHost rcpHost = region.getCoprocessorHost();