Skip to content

Commit

Permalink
[cleanup][test]delete invalid method in PrometheusMetricsTest (apache…
Browse files Browse the repository at this point in the history
…#23218)

Co-authored-by: account guanyue <account [email protected]>
  • Loading branch information
guan46 and account guanyue authored Aug 26, 2024
1 parent 09a16c2 commit a6029ad
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1960,13 +1960,6 @@ public void testSplitTopicAndPartitionLabel() throws Exception {
consumer2.close();
}

private void compareCompactionStateCount(List<Metric> cm, double count) {
assertEquals(cm.size(), 1);
assertEquals(cm.get(0).tags.get("cluster"), "test");
assertEquals(cm.get(0).tags.get("broker"), "localhost");
assertEquals(cm.get(0).value, count);
}

@Test
public void testMetricsGroupedByTypeDefinitions() throws Exception {
Producer<byte[]> p1 = pulsarClient.newProducer().topic("persistent://my-property/use/my-ns/my-topic1").create();
Expand Down

0 comments on commit a6029ad

Please sign in to comment.