You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Guanghao Zhang (Jira)" <ji...@apache.org> on 2020/08/26 03:35:00 UTC

[jira] [Resolved] (HBASE-24946) Remove the metrics assert in TestClusterRestartFailover

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

Guanghao Zhang resolved HBASE-24946.
------------------------------------
    Fix Version/s: 2.2.6
       Resolution: Fixed

> Remove the metrics assert in TestClusterRestartFailover
> -------------------------------------------------------
>
>                 Key: HBASE-24946
>                 URL: https://issues.apache.org/jira/browse/HBASE-24946
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Guanghao Zhang
>            Priority: Major
>             Fix For: 2.2.6
>
>
> MetricsMasterSource masterSource = UTIL.getHBaseCluster().getMaster().getMasterMetrics()
>  .getMetricsSource();
> metricsHelper.assertCounter(MetricsMasterSource.SERVER_CRASH_METRIC_PREFIX+"SubmittedCount",
>  4, masterSource);
>  
> Introduced by HBASE-24199. But flaky now as this unit test will restart all clusters. Meanwhile, this metric already tested by TestMasterMetrics. I plan to remove this assert for branch-2.2.



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