geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject geode git commit: GEODE-2629: fix ConnectionJUnitTest use of Mockito 2.7.11
Date Tue, 13 Jun 2017 18:06:15 GMT
Repository: geode
Updated Branches:
  refs/heads/feature/GEODE-2558 5e9ca3af4 -> 7ad402b33


GEODE-2629: fix ConnectionJUnitTest use of Mockito 2.7.11


Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/7ad402b3
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/7ad402b3
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/7ad402b3

Branch: refs/heads/feature/GEODE-2558
Commit: 7ad402b338016728bdb51f022bae66c108496f33
Parents: 5e9ca3a
Author: Kirk Lund <klund@apache.org>
Authored: Tue Jun 13 11:05:54 2017 -0700
Committer: Kirk Lund <klund@apache.org>
Committed: Tue Jun 13 11:05:54 2017 -0700

----------------------------------------------------------------------
 .../java/org/apache/geode/internal/tcp/ConnectionJUnitTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/7ad402b3/geode-core/src/test/java/org/apache/geode/internal/tcp/ConnectionJUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/internal/tcp/ConnectionJUnitTest.java
b/geode-core/src/test/java/org/apache/geode/internal/tcp/ConnectionJUnitTest.java
index 193240d..aeeb60f 100755
--- a/geode-core/src/test/java/org/apache/geode/internal/tcp/ConnectionJUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/tcp/ConnectionJUnitTest.java
@@ -80,6 +80,6 @@ public class ConnectionJUnitTest {
     Connection conn = new Connection(table, socket);
     conn.setSharedUnorderedForTest();
     conn.run();
-    verify(membership).suspectMember(any(InternalDistributedMember.class), any(String.class));
+    verify(membership).suspectMember(isNull(InternalDistributedMember.class), any(String.class));
   }
 }


Mime
View raw message