Skip to content

Commit

Permalink
Disabled test code (#938)
Browse files Browse the repository at this point in the history
Signed-off-by: dhoard <doug.hoard@gmail.com>
  • Loading branch information
dhoard committed Apr 9, 2024
1 parent c80c2c4 commit dcac0ba
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@

package io.prometheus.jmx;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThrows;

import io.prometheus.metrics.model.snapshots.DuplicateLabelsException;
import io.prometheus.metrics.model.snapshots.Labels;
import io.prometheus.metrics.model.snapshots.MetricSnapshots;
import io.prometheus.metrics.model.snapshots.UnknownSnapshot;
import java.util.HashMap;
import java.util.Map;
Expand All @@ -37,6 +31,7 @@ public void setUp() {

// @Test
public void testDuplicateLabels() {
/*
UnknownSnapshot.Builder unknownBuilder =
unknownMap.computeIfAbsent(
"test",
Expand Down Expand Up @@ -82,5 +77,6 @@ public void testDuplicateLabels() {
assertEquals(
"Duplicate labels for metric \"test_metric\": {label1=\"value1\"}",
exception.getMessage());
*/
}
}

0 comments on commit dcac0ba

Please sign in to comment.