poorbarcode opened a new pull request, #16999:
URL: https://github.com/apache/pulsar/pull/16999

   Fixes #16989
   
   Master Issue: #16989
   
   ### Motivation
   
   We mocked a BK error, but if an exception occurs, the failure callback will 
be executed earlier. So the results of the callbacks will be out of order, 
resulting in a mismatch with the expected value.
   
   ### Modifications
   
   If we mocked BK errors, sort the callback results.
   
   ### Documentation
   
   - [ ] `doc-required` 
   (Your PR needs to update docs and you will update later)
     
   - [x] `doc-not-needed` 
   (Please explain why)
     
   - [ ] `doc` 
   (Your PR contains doc changes)
   
   - [ ] `doc-complete`
   (Docs have been already added)


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