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

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

     [ https://issues.apache.org/jira/browse/HBASE-22180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Duo Zhang reassigned HBASE-22180:
---------------------------------

    Assignee: Duo Zhang

> 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
>            Assignee: Duo Zhang
>            Priority: Major
>
> {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)