Jason918 commented on a change in pull request #13623:
URL: https://github.com/apache/pulsar/pull/13623#discussion_r778770786



##########
File path: 
pulsar-client-tools-test/src/test/java/org/apache/pulsar/admin/cli/PulsarAdminToolTest.java
##########
@@ -1187,6 +1195,13 @@ public void topicPolicies() throws Exception {
         
verify(mockGlobalTopicsPolicies).getSubscriptionDispatchRate("persistent://myprop/clust/ns1/ds1",
 false);
         cmdTopics.run(split("remove-subscription-dispatch-rate 
persistent://myprop/clust/ns1/ds1 -g"));
         
verify(mockGlobalTopicsPolicies).removeSubscriptionDispatchRate("persistent://myprop/clust/ns1/ds1");
+
+        cmdTopics.run(split("get-max-subscriptions-per-topic 
persistent://myprop/clust/ns1/ds1 -g"));
+        
verify(mockTopicsPolicies).getMaxSubscriptionsPerTopic("persistent://myprop/clust/ns1/ds1");

Review comment:
       should  use mockGlobalTopicsPolicies  here




-- 
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: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to