You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "David Mollitor (Jira)" <ji...@apache.org> on 2019/12/12 14:39:00 UTC

[jira] [Moved] (HBASE-23567) TestReplicationStatus Suspicious Assertion

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

David Mollitor moved YARN-10024 to HBASE-23567:
-----------------------------------------------

        Key: HBASE-23567  (was: YARN-10024)
    Project: HBase  (was: Hadoop YARN)

> TestReplicationStatus Suspicious Assertion
> ------------------------------------------
>
>                 Key: HBASE-23567
>                 URL: https://issues.apache.org/jira/browse/HBASE-23567
>             Project: HBase
>          Issue Type: Task
>            Reporter: David Mollitor
>            Priority: Major
>
> {code:java|TestReplicationStatus.java}
>     ServerMetrics sm = metrics.getLiveServerMetrics().get(server);
>     List<ReplicationLoadSource> rLoadSourceList = sm.getReplicationLoadSourceList();
>     // check SourceList still only has one entry
>     assertTrue("failed to get ReplicationLoadSourceList", (rLoadSourceList.size() == 2));
>     assertEquals(PEER_ID2, rLoadSourceList.get(0).getPeerID());
> {code}
> Claims that the sourceList should only have one entry and asserts that the one entry is {{PEER_ID2}} but it also asserts that the list should have two items in it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)