shibd opened a new pull request #14552:
URL: https://github.com/apache/pulsar/pull/14552


   ### Motivation
   
   #14516 
   
   
   Before delete a namespace, We should mock all done. 847 lines of code should 
be executed after 851 lines of code.
   
   
https://github.com/apache/pulsar/blob/4f1e39b6921ea401b8c27f17a041d06d85f8abf8/pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/NamespacesTest.java#L847-L851
   
   Otherwise, a null pointer may happen during verification `isServiceUnitOwned`
   
   
https://github.com/apache/pulsar/blob/4f1e39b6921ea401b8c27f17a041d06d85f8abf8/pulsar-broker/src/main/java/org/apache/pulsar/broker/web/PulsarWebResource.java#L584
   
   Final throw RestException
   
   
https://github.com/apache/pulsar/blob/4f1e39b6921ea401b8c27f17a041d06d85f8abf8/pulsar-broker/src/main/java/org/apache/pulsar/broker/web/PulsarWebResource.java#L608-L610
   
   ### Modifications
   - Fix NamespacesTest execution order
   
   
   ### Documentation
   
   - [x] `no-need-doc` 
   
   


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