Duo Zhang created HBASE-22180:
---------------------------------

             Summary: Make 
TestBlockEvictionFromClient.testBlockRefCountAfterSplits more stable
                 Key: HBASE-22180
                 URL: https://issues.apache.org/jira/browse/HBASE-22180
             Project: HBase
          Issue Type: Bug
          Components: test
            Reporter: Duo Zhang


{code}
      List<RegionInfo> onlineRegions = TEST_UTIL.getAdmin().getRegions(rs);
      while (onlineRegions.size() != 2) {
        onlineRegions = TEST_UTIL.getAdmin().getRegions(rs);
        Thread.sleep(100);
        LOG.info("Waiting on SPLIT to complete...");
      }
{code}

Actually this piece of code is not correct. We only have one region server in 
this test so the region server will also carry meta region.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to