From 498b7c46699288314fefbb64e2ab9511c88a56fc Mon Sep 17 00:00:00 2001 From: mukesh-ctds Date: Tue, 16 Apr 2024 19:37:22 +0530 Subject: [PATCH] fix PrometheusMetricsTest.testEscapeLabelValue --- .../org/apache/pulsar/broker/stats/PrometheusMetricsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pulsar-broker/src/test/java/org/apache/pulsar/broker/stats/PrometheusMetricsTest.java b/pulsar-broker/src/test/java/org/apache/pulsar/broker/stats/PrometheusMetricsTest.java index 244d9eaa812745..15a9a2ca3f83de 100644 --- a/pulsar-broker/src/test/java/org/apache/pulsar/broker/stats/PrometheusMetricsTest.java +++ b/pulsar-broker/src/test/java/org/apache/pulsar/broker/stats/PrometheusMetricsTest.java @@ -2004,7 +2004,7 @@ public void testEscapeLabelValue() throws Exception { assertEquals(subCountLines.size(), 1); assertEquals(subCountLines.get(0), "pulsar_subscription_msg_drop_rate{cluster=\"test\",namespace=\"prop/ns-abc1\"," - + "topic=\"persistent://prop/ns-abc1/\\\"mytopic\",subscription=\"s\\\"ub\\\\\"} 0.0"); + + "topic=\"persistent://prop/ns-abc1/\\\"mytopic\",subscription=\"s\\\"ub\\\"} 0.0"); } }