Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-24584 Release 2.2.6
  3. HBASE-24946

Remove the metrics assert in TestClusterRestartFailover

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.2.6
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              zghao Guanghao Zhang
              zghao Guanghao Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: