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-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtil.java