You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2022/05/31 20:06:43 UTC

[camel-quarkus] branch 2.7.x updated: Increase FHIR container startup timeout to 5 minutes

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

jamesnetherton pushed a commit to branch 2.7.x
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/2.7.x by this push:
     new 98f9b6c496 Increase FHIR container startup timeout to 5 minutes
98f9b6c496 is described below

commit 98f9b6c4968b9810655481a5d3d3ba7d8163437e
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue May 31 14:35:47 2022 +0100

    Increase FHIR container startup timeout to 5 minutes
---
 .../org/apache/camel/quarkus/component/fhir/it/FhirTestResource.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirTestResource.java b/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirTestResource.java
index 970d9aada4..0ea1d8a093 100644
--- a/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirTestResource.java
+++ b/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirTestResource.java
@@ -17,6 +17,7 @@
 
 package org.apache.camel.quarkus.component.fhir.it;
 
+import java.time.Duration;
 import java.util.Collections;
 import java.util.Map;
 
@@ -62,7 +63,7 @@ public class FhirTestResource implements QuarkusTestResourceLifecycleManager {
             container = new GenericContainer(imageName)
                     .withExposedPorts(CONTAINER_PORT)
                     .withEnv("HAPI_FHIR_VERSION", fhirVersion.getFhirContainerVersionEnvVarValue())
-                    .waitingFor(Wait.forHttp(fhirVersion.getHealthEndpointPath()));
+                    .waitingFor(Wait.forHttp(fhirVersion.getHealthEndpointPath()).withStartupTimeout(Duration.ofMinutes(5)));
 
             container.start();