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/07 13:05:00 UTC

[jira] [Resolved] (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 resolved HBASE-22180.
-------------------------------
      Resolution: Fixed
    Hadoop Flags: Reviewed

Pushed to branch-2.0+.

Thanks [~openinx] for reviewing.

> 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
>             Fix For: 3.0.0, 2.2.0, 2.3.0, 2.0.6, 2.1.5
>
>
> {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)