merlimat commented on a change in pull request #9948:
URL: https://github.com/apache/pulsar/pull/9948#discussion_r597045208
##########
File path:
pulsar-broker/src/test/java/org/apache/pulsar/broker/stats/PrometheusMetricsTest.java
##########
@@ -77,6 +77,7 @@
@Override
protected void setup() throws Exception {
super.baseSetup();
+ AuthenticationProviderToken.reset();
Review comment:
```suggestion
AuthenticationProviderToken.resetMetrics();
```
##########
File path:
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/authentication/AuthenticationProviderToken.java
##########
@@ -102,6 +104,12 @@ public void close() throws IOException {
// noop
}
+ @VisibleForTesting
+ public static void reset() {
Review comment:
```suggestion
public static void resetMetrics() {
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]