Skip to content

Commit 99b7cbe

Browse files
committed
OAK-11750: test updated
1 parent c01eef5 commit 99b7cbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oak-search-elastic/src/test/java/org/apache/jackrabbit/oak/plugins/index/elastic/query/inference/InferenceServiceMetricsTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,12 +245,12 @@ protected String getMetricName(String baseName) {
245245
// Methods to directly access the stats for verification
246246
public CounterStats getDirectCounter(String name) {
247247
// Format the name the same way it's done in the parent class
248-
return statisticsProvider.getCounterStats(getMetricName(TEST_SERVICE_KEY + ";" + name), StatsOptions.DEFAULT);
248+
return statisticsProvider.getCounterStats(getMetricName(TEST_SERVICE_KEY + "-" + name), StatsOptions.DEFAULT);
249249
}
250250

251251
public MeterStats getDirectMeter(String name) {
252252
// Format the name the same way it's done in the parent getMeter() method
253-
return statisticsProvider.getMeter(getMetricName(TEST_SERVICE_KEY + ";" + name), StatsOptions.DEFAULT);
253+
return statisticsProvider.getMeter(getMetricName(TEST_SERVICE_KEY + "-" + name), StatsOptions.DEFAULT);
254254
}
255255
}
256256
}

0 commit comments

Comments
 (0)