kirklund edited a comment on pull request #5925:
URL: https://github.com/apache/geode/pull/5925#issuecomment-789321362


   > Looks like you have a few small changes to make but I'll give my approval 
now. Please consider adding unit test coverage for the changes in LocalRegion. 
There is an existing `LocalRegionTest` that uses Mockito. I also suggest you 
remove the `tearDown` since it's doing the same thing that the 
`DistributedBlackboard` Rule does after every test method.
   
   By the way, I verified that you don't need to invoke 
`DUnitBlackboard.initBlackboard()` in the `tearDown`. The Rule completely 
dereferences the instance of `DUnitBlackboard` and so it becomes available to 
GC. The Rule effectively handles the initialization and cleanup of 
`DUnitBlackboard` so that a test doesn't need to do this.


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