You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by kl...@apache.org on 2017/06/13 00:30:15 UTC

[40/50] [abbrv] geode git commit: GEODE-3023: removing incorrect assertion

GEODE-3023: removing incorrect assertion


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

Branch: refs/heads/feature/GEODE-2558
Commit: 70483db0ef3b8045565bc48d83d2daea3cb5d8eb
Parents: 831ed21
Author: Udo Kohlmeyer <uk...@pivotal.io>
Authored: Sat Jun 10 09:10:34 2017 -0700
Committer: Udo Kohlmeyer <uk...@pivotal.io>
Committed: Sat Jun 10 09:10:34 2017 -0700

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


http://git-wip-us.apache.org/repos/asf/geode/blob/70483db0/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 ee70018..8a25aaf 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
@@ -84,7 +84,6 @@ public class TCPServerSSLJUnitTest {
 
   @Test
   public void testSSLSocketTimeOut() throws IOException {
-    boolean caughtLocatorException = false;
     try {
 
       System.setProperty(DistributionConfig.GEMFIRE_PREFIX + "TcpServer.READ_TIMEOUT",
@@ -96,10 +95,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());