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/03/21 10:06:22 UTC

[camel] branch main updated: CAMEL-18608: Increase the Socket Timeout for ITs

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 cc3abe26068 CAMEL-18608: Increase the Socket Timeout for ITs
cc3abe26068 is described below

commit cc3abe260682498858b5da179ae193e24c0d1d7d
Author: Nicolas Filotto <nf...@talend.com>
AuthorDate: Tue Mar 21 11:06:04 2023 +0100

    CAMEL-18608: Increase the Socket Timeout for ITs
---
 .../java/org/apache/camel/component/fhir/AbstractFhirTestSupport.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/AbstractFhirTestSupport.java b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/AbstractFhirTestSupport.java
index c535210470e..17756814974 100644
--- a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/AbstractFhirTestSupport.java
+++ b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/AbstractFhirTestSupport.java
@@ -83,7 +83,7 @@ public abstract class AbstractFhirTestSupport extends CamelTestSupport {
     protected CamelContext createCamelContext() throws Exception {
         final CamelContext context = super.createCamelContext();
         this.fhirContext = new FhirContext(FhirVersionEnum.R4);
-        this.fhirContext.getRestfulClientFactory().setSocketTimeout(20 * 1000);
+        this.fhirContext.getRestfulClientFactory().setSocketTimeout(60 * 1000);
         // Set proxy so that FHIR resource URLs returned by the server are using the correct host and port
         this.fhirContext.getRestfulClientFactory().setProxy(service.getHost(), service.getPort());
         this.fhirClient = this.fhirContext.newRestfulGenericClient(service.getServiceBaseURL());