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 9c286a1b16 Add CACHE_SIZE metric to MetricsIT flaky metric set (#6654)
9c286a1b16 is described below

commit 9c286a1b16883c9e25b4b9dbcf6904bb24d1760b
Author: Dave Marion <[email protected]>
AuthorDate: Tue Nov 17 09:33:15 2026 -0500

    Add CACHE_SIZE metric to MetricsIT flaky metric set (#6654)
    
    PR #6351 added a new CACHE_SIZE metric that was causing the IT
    to fail because it was not being reported.
---
 test/src/main/java/org/apache/accumulo/test/metrics/MetricsIT.java | 2 ++
 1 file changed, 2 insertions(+)

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 e322650fb8..0770b850e9 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
@@ -18,6 +18,7 @@
  */
 package org.apache.accumulo.test.metrics;
 
+import static org.apache.accumulo.core.metrics.Metric.CACHE_SIZE;
 import static org.apache.accumulo.core.metrics.Metric.COMPACTOR_MAJC_CANCELLED;
 import static org.apache.accumulo.core.metrics.Metric.COMPACTOR_MAJC_FAILED;
 import static 
org.apache.accumulo.core.metrics.Metric.COMPACTOR_MAJC_FAILURES_CONSECUTIVE;
@@ -161,6 +162,7 @@ public class MetricsIT extends ConfigurableMacBase 
implements MetricsProducer {
 
     // add sserver as flaky until scan server included in mini tests.
     Set<Metric> flakyMetrics = Set.of(
+            CACHE_SIZE,
             COMPACTOR_MAJC_STUCK,
             EXECUTOR_COMPLETED,
             EXECUTOR_QUEUED,

Reply via email to