You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by dl...@apache.org on 2022/01/19 20:49:20 UTC

[accumulo] branch main updated: Fix broken MetricsIT (#2419)

This is an automated email from the ASF dual-hosted git repository.

dlmarion pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/main by this push:
     new 0baf204  Fix broken MetricsIT (#2419)
0baf204 is described below

commit 0baf2046820e6a12e4afd109b0920fb1cf31596e
Author: Dave Marion <dl...@apache.org>
AuthorDate: Wed Jan 19 15:49:11 2022 -0500

    Fix broken MetricsIT (#2419)
    
    Updated MetricsIT to account for new metrics added as part of #2405
---
 test/src/main/java/org/apache/accumulo/test/metrics/MetricsIT.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/src/main/java/org/apache/accumulo/test/metrics/MetricsIT.java b/test/src/main/java/org/apache/accumulo/test/metrics/MetricsIT.java
index 4036882..ea3e05b 100644
--- a/test/src/main/java/org/apache/accumulo/test/metrics/MetricsIT.java
+++ b/test/src/main/java/org/apache/accumulo/test/metrics/MetricsIT.java
@@ -85,13 +85,14 @@ public class MetricsIT extends ConfigurableMacBase implements MetricsProducer {
   public void confirmMetricsPublished() throws Exception {
     Set<String> flakyMetricNames = new HashSet<>();
     flakyMetricNames.add(METRICS_GC_WAL_ERRORS);
+    flakyMetricNames.add(METRICS_FATE_TYPE_IN_PROGRESS);
 
     Map<String,String> expectedMetricNames = this.getMetricFields();
     // We might not see these in the course of normal operations
     expectedMetricNames.remove(METRICS_SCAN_YIELDS);
     expectedMetricNames.remove(METRICS_UPDATE_ERRORS);
     expectedMetricNames.remove(METRICS_REPLICATION_QUEUE);
-    expectedMetricNames.remove(METRICS_FATE_TYPE_IN_PROGRESS);
+    expectedMetricNames.remove(METRICS_COMPACTOR_MAJC_STUCK);
 
     try (AccumuloClient client = Accumulo.newClient().from(getClientProperties()).build()) {
       String tableName = this.getClass().getSimpleName();