nodece commented on code in PR #18263:
URL: https://github.com/apache/pulsar/pull/18263#discussion_r1027577873
##########
pulsar-broker/src/test/java/org/apache/pulsar/broker/resourcegroup/ResourceGroupUsageAggregationTest.java:
##########
@@ -210,7 +211,10 @@ private void verifyStats(String topicString, String rgName,
throws
InterruptedException, PulsarAdminException {
BrokerService bs = pulsar.getBrokerService();
Awaitility.await().untilAsserted(() -> {
- TopicStatsImpl topicStats = bs.getTopicStats().get(topicString);
+ GetStatsOptions getStatsOptions =
+
GetStatsOptions.builder().getPreciseBacklog(false).subscriptionBacklogSize(false)
+
.getEarliestTimeInBacklog(false).getTotalNonContiguousDeletedMessagesRange(false).build();
Review Comment:
```suggestion
.getEarliestTimeInBacklog(false).getTotalNonContiguousDeletedMessagesRange(true).build();
```
?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]