createIndexedHTableDescriptor(tableName, "cf", "index_name", "cf", "cq");
admin.createTable(iHtd);
admin.disableTable(tableName);
admin.enableTable(indexTableName);
MiniHBaseCluster cluster = UTIL.getHBaseCluster();
cluster.abortMaster(0);
cluster.startMaster();
cluster.waitOnMaster(0);
cluster.waitForActiveAndReadyMaster();
Thread.sleep(1000);
assertTrue("User table should be disabled.", admin.isTableDisabled(tableName));