-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43059/#review117318
-----------------------------------------------------------




gemfire-core/src/test/java/com/gemstone/gemfire/distributed/internal/membership/gms/membership/GMSJoinLeaveJUnitTest.java
 (line 99)
<https://reviews.apache.org/r/43059/#comment178481>

    Maybe instead of passing in a boolean for useTestGMSJoinLeave, instead just 
pass in the instance of GMSJoinLeave that you want to test with?  The initMocks 
from above could then be changed to initMocks(enableNetworkPartition, new 
GMSJoinLeave()) and the call that needs to pass in true would just pass in the 
GMSJoinLeaveTest() instead.


- Jason Huynh


On Feb. 2, 2016, 12:11 a.m., Hitesh Khamesra wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/43059/
> -----------------------------------------------------------
> 
> (Updated Feb. 2, 2016, 12:11 a.m.)
> 
> 
> Review request for geode, Bruce Schuchardt and Udo Kohlmeyer.
> 
> 
> Repository: geode
> 
> 
> Description
> -------
> 
> ViewCreator thread sends another message when any member doesn't ack back to
>     prepared view. And then it waits on future as this can happen for 
> multiple members.
>     In this case, If those members are not responsive and other thread 
> already determined that,
>     then we don't need to wait for those members. Thus now viewCreator thread 
> checks
>     RemoveMember message for those members while waiting for response.
>     Another minor fix in same area.
>     And added unit test for that
> 
> 
> Diffs
> -----
> 
>   
> gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/membership/gms/fd/GMSHealthMonitor.java
>  b6f6c12 
>   
> gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/membership/gms/membership/GMSJoinLeave.java
>  6b09214 
>   
> gemfire-core/src/test/java/com/gemstone/gemfire/distributed/internal/membership/gms/membership/GMSJoinLeaveJUnitTest.java
>  5b53290 
> 
> Diff: https://reviews.apache.org/r/43059/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Hitesh Khamesra
> 
>

Reply via email to