public void waitTableEnabled(TableName table) throws InterruptedException, IOException {
    waitTableEnabled(table, 30000);
  }
Waits for a table to be 'enabled'. Enabled means that table is set as 'enabled' and the regions
have been all assigned. Will timeout after default period (30 seconds) Tolerates nonexistent
table.
@param table the table to wait on.
@throws InterruptedException if interrupted while waiting
@throws IOException          if an IO problem is encountered
hbase-testing-util/src/main/java/org/apache/hadoop/hbase/HBaseTestingUtility.java