public void waitTableEnabled(TableName table, long timeoutMillis) throws IOException {
    waitFor(timeoutMillis, predicateTableEnabled(table));
  }
Waits for a table to be 'enabled'. Enabled means that table is set as 'enabled' and the regions
have been all assigned.
@see #waitTableEnabled(TableName, long)
@param table         Table to wait on.
@param timeoutMillis Time to wait on it being marked enabled.
hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtil.java