Skip to content

Commit

Permalink
[fix] [test] Fix testEscapeLabelValue failed (#21346)
Browse files Browse the repository at this point in the history
  • Loading branch information
horizonzy committed Oct 16, 2023
1 parent 1365606 commit 12c4a02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1752,7 +1752,7 @@ public void testEscapeLabelValue() throws Exception {
false, statsOut);
String metricsStr = statsOut.toString();
final List<String> subCountLines = metricsStr.lines()
.filter(line -> line.startsWith("pulsar_subscriptions_count"))
.filter(line -> line.startsWith("pulsar_subscriptions_count{cluster=\"test\",namespace=\"prop/ns-abc1\""))
.collect(Collectors.toList());
System.out.println(subCountLines);
assertEquals(subCountLines.size(), 1);
Expand Down

0 comments on commit 12c4a02

Please sign in to comment.