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 cc37af9177 Fixed ExternalCompactionProgressIT metrics test (#5228)
cc37af9177 is described below

commit cc37af9177e16a09e4625af3cb6285c7e6ec4676
Author: Dave Marion <dlmar...@apache.org>
AuthorDate: Tue Jan 7 08:12:38 2025 -0500

    Fixed ExternalCompactionProgressIT metrics test (#5228)
    
    The metric prefix changed causing the test to fail
---
 .../apache/accumulo/test/compaction/ExternalCompactionProgressIT.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/test/src/main/java/org/apache/accumulo/test/compaction/ExternalCompactionProgressIT.java
 
b/test/src/main/java/org/apache/accumulo/test/compaction/ExternalCompactionProgressIT.java
index d9df860bc2..4ddcd01f9a 100644
--- 
a/test/src/main/java/org/apache/accumulo/test/compaction/ExternalCompactionProgressIT.java
+++ 
b/test/src/main/java/org/apache/accumulo/test/compaction/ExternalCompactionProgressIT.java
@@ -194,7 +194,7 @@ public class ExternalCompactionProgressIT extends 
AccumuloClusterHarness {
           }
           TestStatsDSink.Metric metric = TestStatsDSink.parseStatsDMetric(s);
           final String metricName = metric.getName();
-          if (!metricName.startsWith("accumulo.compactor.entries")) {
+          if (!metricName.startsWith("accumulo.compaction.entries")) {
             continue;
           }
           int value = Integer.parseInt(metric.getValue());

Reply via email to