geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aba...@apache.org
Subject [1/3] geode git commit: GEODE-3023: removing incorrect assertion
Date Tue, 13 Jun 2017 16:46:31 GMT
Repository: geode
Updated Branches:
  refs/heads/release/1.2.0 ed15feee6 -> 775fdfcf0


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/release/1.2.0
Commit: f588184f91e998350d570a9ef7514b4e35ee3c8e
Parents: 953dcb5
Author: Udo Kohlmeyer <ukohlmeyer@pivotal.io>
Authored: Sat Jun 10 09:10:34 2017 -0700
Committer: Anthony Baker <abaker@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());


Mime
View raw message