This is an automated email from the ASF dual-hosted git repository.

bschuchardt pushed a commit to branch feature/GEODE-6292
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/feature/GEODE-6292 by this 
push:
     new c522e13  added another verification check in unit test
c522e13 is described below

commit c522e1387d946e3314e357974b2cc592c00e2806
Author: Bruce Schuchardt <[email protected]>
AuthorDate: Fri Jan 18 10:50:59 2019 -0800

    added another verification check in unit test
---
 .../internal/membership/gms/membership/GMSJoinLeaveJUnitTest.java       | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/geode-core/src/integrationTest/java/org/apache/geode/distributed/internal/membership/gms/membership/GMSJoinLeaveJUnitTest.java
 
b/geode-core/src/integrationTest/java/org/apache/geode/distributed/internal/membership/gms/membership/GMSJoinLeaveJUnitTest.java
index 4630738..ac9b9d5 100644
--- 
a/geode-core/src/integrationTest/java/org/apache/geode/distributed/internal/membership/gms/membership/GMSJoinLeaveJUnitTest.java
+++ 
b/geode-core/src/integrationTest/java/org/apache/geode/distributed/internal/membership/gms/membership/GMSJoinLeaveJUnitTest.java
@@ -208,6 +208,8 @@ public class GMSJoinLeaveJUnitTest {
     assertThatThrownBy(() -> gmsJoinLeave.findCoordinator())
         .isInstanceOf(SystemConnectException.class)
         .hasMessageContaining("Interrupted while trying to contact locators");
+    verify(tcpClientWrapper, 
times(1)).sendCoordinatorFindRequest(any(InetSocketAddress.class),
+        any(FindCoordinatorRequest.class), any(Integer.class));
   }
 
   @Test

Reply via email to