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

   ### Motivation
   
   Mockito isn't thread safe and excessive usage of Mockito mocks and spies is 
causing flakiness in tests.
   This PR is a follow-up on #19323 and adds more changes. This PR targets 
ServerCnxTest which contains
   similar flakiness issues as the tests fixed in #19323 . 
   
   ### Modifications
   
   Reduce more Mockito spies/mocks in tests.
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc` <!-- Your PR contains doc changes. Please attach the local 
preview screenshots (run `sh start.sh` at `pulsar/site2/website`) to your PR 
description, or else your PR might not get merged. -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update 
later -->
   - [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `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