admin.move(regionsEncod1.get(i), null);
admin.move(regionsEncod2.get(i), null);
}
ZKAssign.blockUntilNoRIT(zkw);
SecondaryIndexColocator colocator = new SecondaryIndexColocator(config);
colocator.setUp();
boolean inconsistent = colocator.checkForCoLocationInconsistency();
Assert.assertTrue("Inconsistency should be there before running the tool.", inconsistent);
colocator.fixCoLocationInconsistency();
ZKAssign.blockUntilNoRIT(zkw);
colocator = new SecondaryIndexColocator(config);
colocator.setUp();
inconsistent = colocator.checkForCoLocationInconsistency();
Assert.assertFalse("No inconsistency should be there after running the tool", inconsistent);
}