albertogpz commented on pull request #6052:
URL: https://github.com/apache/geode/pull/6052#issuecomment-794287751


   > Quite a lot of changes here to clean up the code. I'm also concerned that 
there's not enough test coverage for the changes in terms of possible failure 
conditions, such as if two threads call `stop()` on the same gateway sender 
within quick succession. More unit tests should also be added for the 
new/modified behaviour.
   
   Thanks a lot for your thorough review. Impressive, as usual.
   
   I have added a couple of tests in `SerialGatewaySenderImplTest` and 
`ParallelGatewalSenderImplTest`to verify that two threads calling `stop()` on 
the same gateway sender within quick succession does not provoke any harm and 
the `preStop` and `postStop` methods do their job.


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


Reply via email to