You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ab...@apache.org on 2017/07/17 18:06:41 UTC

[32/58] [abbrv] geode git commit: GEODE-3023: removing incorrect assertion

GEODE-3023: removing incorrect assertion

(cherry picked from commit 70483db0ef3b8045565bc48d83d2daea3cb5d8eb)


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

Branch: refs/heads/master
Commit: f588184f91e998350d570a9ef7514b4e35ee3c8e
Parents: 953dcb5
Author: Udo Kohlmeyer <uk...@pivotal.io>
Authored: Sat Jun 10 09:10:34 2017 -0700
Committer: Anthony Baker <ab...@apache.org>
Committed: Tue Jun 13 07:21:41 2017 -0700

----------------------------------------------------------------------
 .../distributed/internal/tcpserver/TCPServerSSLJUnitTest.java     | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/f588184f/geode-core/src/test/java/org/apache/geode/distributed/internal/tcpserver/TCPServerSSLJUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/distributed/internal/tcpserver/TCPServerSSLJUnitTest.java b/geode-core/src/test/java/org/apache/geode/distributed/internal/tcpserver/TCPServerSSLJUnitTest.java
index b3a0901..3f3cc8d 100644
--- a/geode-core/src/test/java/org/apache/geode/distributed/internal/tcpserver/TCPServerSSLJUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/distributed/internal/tcpserver/TCPServerSSLJUnitTest.java
@@ -85,7 +85,6 @@ public class TCPServerSSLJUnitTest {
 
   @Test
   public void testSSLSocketTimeOut() throws IOException {
-    boolean caughtLocatorException = false;
     try {
 
       System.setProperty(DistributionConfig.GEMFIRE_PREFIX + "TcpServer.READ_TIMEOUT",
@@ -97,10 +96,8 @@ public class TCPServerSSLJUnitTest {
 
     } catch (LocatorCancelException e) {
       // we catching the LocatorCancelException. Expected to have the exception thrown
-      caughtLocatorException = true;
     }
 
-    Assert.assertTrue(caughtLocatorException);
     List<Integer> recordedSocketsForSocketCreator = server.getRecordedSocketTimeouts();
 
     Assert.assertEquals(1, recordedSocketsForSocketCreator.size());