merlimat opened a new pull request #7494: URL: https://github.com/apache/pulsar/pull/7494
### Motivation The async function test is relying on a race condition on when the counter is updated. With `pendingQueueSize=2`, the 3rd event is blocked on the queue until the 1st event is processed. That makes 1st and 2nd event to be triggered around the same time and the validation to fail, when we the 2nd event to be already done. Additionally, there are multiple threads leaked by this test. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
