Description
Currently we have the following code:
desc.addCoprocessor(SlowMeCoproScanOperations.class.getName()); HBaseTestingUtility.modifyTableSync(admin, desc); //sleep for sometime. Hope is that the regions are closed/opened before //the sleep returns. TODO: do this better Thread.sleep(30000);
Instead of sleeping for fixed duration, we should detect when the regions have reopened with custom Coprocessor.