You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2019/04/06 14:21:00 UTC

[jira] [Created] (HBASE-22180) Make TestBlockEvictionFromClient.testBlockRefCountAfterSplits more stable

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)