Shoothzj commented on pull request #11761: URL: https://github.com/apache/pulsar/pull/11761#issuecomment-905148299
> Change LGTM. It should be easy to assert the the memory size in a unit test. > > 1. Create producer > 2. Stop broker > 3. Publish with timeout > 4. Wait until all send operations have failed > 5. The memory controller should report usage==0 You are right. Unit test is more efficient way. -- 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