String indexTableName = "testBalanceClusterFromAdminBalancer" + Constants.INDEX_TABLE_SUFFIX;
waitUntilIndexTableCreated(master, indexTableName);
admin.disableTable(tableName);
admin.enableTable(tableName);
admin.balanceSwitch(true);
admin.balancer();
boolean isRegionsColocated = checkForColocation(master, tableName, indexTableName);
assertTrue("User regions and index regions should colocate.", isRegionsColocated);
}
@Test(timeout = 180000)