You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by bs...@apache.org on 2019/12/23 17:31:16 UTC

[geode] branch feature/GEODE-7617 created (now 90e219f)

This is an automated email from the ASF dual-hosted git repository.

bschuchardt pushed a change to branch feature/GEODE-7617
in repository https://gitbox.apache.org/repos/asf/geode.git.


      at 90e219f  GEODE-7617: CI failure: GeodeClientClusterManagementSSLTest. getServiceUseClientSSLConfig

This branch includes the following new commits:

     new 90e219f  GEODE-7617: CI failure: GeodeClientClusterManagementSSLTest. getServiceUseClientSSLConfig

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[geode] 01/01: GEODE-7617: CI failure: GeodeClientClusterManagementSSLTest. getServiceUseClientSSLConfig

Posted by bs...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bschuchardt pushed a commit to branch feature/GEODE-7617
in repository https://gitbox.apache.org/repos/asf/geode.git

commit 90e219fa408cb9e119295ee5f277a66827e2cab9
Author: Bruce Schuchardt <bs...@pivotal.io>
AuthorDate: Mon Dec 23 09:27:50 2019 -0800

    GEODE-7617: CI failure: GeodeClientClusterManagementSSLTest. getServiceUseClientSSLConfig
    
    add an await() so that the cluster configuration service has time to
    spin up.
---
 .../internal/rest/GeodeClientClusterManagementSSLTest.java       | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/geode-assembly/src/distributedTest/java/org/apache/geode/management/internal/rest/GeodeClientClusterManagementSSLTest.java b/geode-assembly/src/distributedTest/java/org/apache/geode/management/internal/rest/GeodeClientClusterManagementSSLTest.java
index 281289f..6550959 100644
--- a/geode-assembly/src/distributedTest/java/org/apache/geode/management/internal/rest/GeodeClientClusterManagementSSLTest.java
+++ b/geode-assembly/src/distributedTest/java/org/apache/geode/management/internal/rest/GeodeClientClusterManagementSSLTest.java
@@ -21,6 +21,7 @@ import static org.apache.geode.distributed.ConfigurationProperties.SSL_KEYSTORE_
 import static org.apache.geode.distributed.ConfigurationProperties.SSL_TRUSTSTORE;
 import static org.apache.geode.distributed.ConfigurationProperties.SSL_TRUSTSTORE_PASSWORD;
 import static org.apache.geode.management.builder.ClusterManagementServiceBuilder.buildWithCache;
+import static org.apache.geode.test.awaitility.GeodeAwaitility.await;
 import static org.assertj.core.api.Assertions.assertThat;
 
 import java.io.File;
@@ -65,9 +66,11 @@ public class GeodeClientClusterManagementSSLTest {
   @Test
   public void getServiceUseClientSSLConfig() throws Exception {
     client.invoke(() -> {
-      ClusterManagementService service = buildWithCache()
-          .setCache(ClusterStartupRule.getClientCache()).build();
-      assertThat(service.isConnected()).isTrue();
+      await().untilAsserted(() -> {
+        ClusterManagementService service = buildWithCache()
+            .setCache(ClusterStartupRule.getClientCache()).build();
+        assertThat(service.isConnected()).isTrue();
+      });
     });
   }
 }