You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2023/09/05 17:15:40 UTC

[camel] branch main updated: [CAMEL-19834] fix camel-test-infra-elasticsearch container start fails if ca cert is not present (#11302)

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

nfilotto pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new bfb160c9c7e [CAMEL-19834] fix camel-test-infra-elasticsearch container start fails if ca cert is not present (#11302)
bfb160c9c7e is described below

commit bfb160c9c7e83d7e2d0b9d4216980533bc8498a9
Author: Andrea Tarocchi <an...@gmail.com>
AuthorDate: Tue Sep 5 19:15:32 2023 +0200

    [CAMEL-19834] fix camel-test-infra-elasticsearch container start fails if ca cert is not present (#11302)
---
 .../elasticsearch/services/ElasticSearchLocalContainerService.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test-infra/camel-test-infra-elasticsearch/src/test/java/org/apache/camel/test/infra/elasticsearch/services/ElasticSearchLocalContainerService.java b/test-infra/camel-test-infra-elasticsearch/src/test/java/org/apache/camel/test/infra/elasticsearch/services/ElasticSearchLocalContainerService.java
index 403b466d8eb..a2cef3dded9 100644
--- a/test-infra/camel-test-infra-elasticsearch/src/test/java/org/apache/camel/test/infra/elasticsearch/services/ElasticSearchLocalContainerService.java
+++ b/test-infra/camel-test-infra-elasticsearch/src/test/java/org/apache/camel/test/infra/elasticsearch/services/ElasticSearchLocalContainerService.java
@@ -95,8 +95,8 @@ public class ElasticSearchLocalContainerService implements ElasticSearchService,
             } catch (IOException e) {
                 throw new RuntimeException(e);
             }
+            sslContext = getContainer().createSslContextFromCa();
         });
-        sslContext = getContainer().createSslContextFromCa();
     }
 
     @Override