mattisonchao commented on a change in pull request #14120:
URL: https://github.com/apache/pulsar/pull/14120#discussion_r800264926



##########
File path: 
pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/AdminTest.java
##########
@@ -423,22 +423,22 @@ public void properties() throws Throwable {
                 .allowedClusters(allowedClusters)
                 .build();
         response = asynRequests(ctx -> properties.createTenant(ctx, 
"test-property", tenantInfo));
-        verify(properties, times(2)).validateSuperUserAccess();
+        verify(properties, times(1)).validateSuperUserAccess();

Review comment:
       Because we use ``validateSuperUserAccessAsync`` to instead of 
``validateSuperUserAccess``. 
   So, the times counter is changed.




-- 
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]


Reply via email to