Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattisonchao committed Oct 7, 2023
1 parent b458062 commit 6ee261c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -923,9 +923,9 @@ public void testMergeLookupRequests() throws Exception {
}

private int calculateLookupRequestCount() throws Exception {
int failures = CollectorRegistry.defaultRegistry.getSampleValue("pulsar_broker_lookup_failures_total")
int failures = CollectorRegistry.defaultRegistry.getSampleValue("pulsar_broker_lookup_failures")
.intValue();
int answers = CollectorRegistry.defaultRegistry.getSampleValue("pulsar_broker_lookup_answers_total")
int answers = CollectorRegistry.defaultRegistry.getSampleValue("pulsar_broker_lookup_answers")
.intValue();
return failures + answers;
}
Expand Down

0 comments on commit 6ee261c

Please sign in to comment.