private void waitForTable(TableName name) throws InterruptedException, IOException {
    // First wait until all regions are online
    TEST_UTIL.waitTableEnabled(name);
    // Now wait a bit longer for the coprocessor hosts to load the CPs
    Thread.sleep(1000);
  }
return the subset of all regionservers (actually returns set of ServerLoads) which host some
region in a given table. used by assertAllRegionServers() below to test reporting of loaded
coprocessors.
@param tableName : given table.
@return subset of all servers.
hbase-endpoint/src/test/java/org/apache/hadoop/hbase/coprocessor/TestClassLoading.java