public void waitTableDisabled(byte[] table, long timeoutMillis)
    throws InterruptedException, IOException {
    waitTableDisabled(TableName.valueOf(table), timeoutMillis);
  }
Waits for a table to be 'disabled'. Disabled means that table is set as 'disabled'
@param table         Table to wait on.
@param timeoutMillis Time to wait on it being marked disabled.
hbase-testing-util/src/main/java/org/apache/hadoop/hbase/HBaseTestingUtility.java