You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Matteo Bertozzi (JIRA)" <ji...@apache.org> on 2015/03/19 10:29:39 UTC

[jira] [Created] (HBASE-13285) Fix flaky getRegions() in TestAccessController.setUp()

Matteo Bertozzi created HBASE-13285:
---------------------------------------

             Summary: Fix flaky getRegions() in TestAccessController.setUp()
                 Key: HBASE-13285
                 URL: https://issues.apache.org/jira/browse/HBASE-13285
             Project: HBase
          Issue Type: Bug
          Components: test
    Affects Versions: 0.98.12, 1.0.0, 2.0.0, 1.1.0
            Reporter: Matteo Bertozzi
            Assignee: Matteo Bertozzi
            Priority: Minor


TestAccessController is waiting on table to be enabled and after that tries to lookup the region. but if the machine is slow, that region may not be assigned yet.
{code}
TEST_UTIL.waitTableEnabled(TEST_TABLE.getTableName());
HRegion region = TEST_UTIL.getHBaseCluster().getRegions(TEST_TABLE.getTableName()).get(0);
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)