geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dschnei...@apache.org
Subject [03/13] incubator-geode git commit: improved test51531
Date Fri, 16 Oct 2015 23:52:49 GMT
improved test51531


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

Branch: refs/heads/feature/GEODE-417
Commit: 7d348fe9cb87aaa9f03e891e9c8180b403008c54
Parents: e45f5e3
Author: Darrel Schneider <dschneider@pivotal.io>
Authored: Thu Oct 8 11:00:08 2015 -0700
Committer: Darrel Schneider <dschneider@pivotal.io>
Committed: Fri Oct 16 16:28:04 2015 -0700

----------------------------------------------------------------------
 .../gemfire/internal/SSLConfigIntegrationJUnitTest.java       | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/7d348fe9/gemfire-core/src/test/java/com/gemstone/gemfire/internal/SSLConfigIntegrationJUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/SSLConfigIntegrationJUnitTest.java
b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/SSLConfigIntegrationJUnitTest.java
index 3005ed9..27623d7 100644
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/SSLConfigIntegrationJUnitTest.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/SSLConfigIntegrationJUnitTest.java
@@ -22,6 +22,7 @@ public class SSLConfigIntegrationJUnitTest {
   @Test
   public void test51531() {
     Cache mCache = new CacheFactory().set("mcast-port", "0").set("jmx-manager", "true").create();
+    try {
     ManagementService mService = ManagementService.getManagementService(mCache);
     MemberMXBean mMemberBean = mService.getMemberMXBean();
     GemFireProperties mGemFireProperties = mMemberBean.listGemFireProperties();
@@ -30,6 +31,10 @@ public class SSLConfigIntegrationJUnitTest {
     assertTrue(mGemFireProperties.isClusterSSLRequireAuthentication());
     assertTrue(mGemFireProperties.isGatewaySSLRequireAuthentication());
     assertTrue(mGemFireProperties.isJmxManagerSSLRequireAuthentication());
-    mCache.close();
+    // unlike all others, http-server defaults to false
+    assertFalse(mGemFireProperties.isHttpServiceSSLRequireAuthentication());
+    } finally {
+      mCache.close();
+    }
   }
 }


Mime
View raw message