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 16:23:37 UTC
[camel-quarkus] branch main 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 main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new c9cd841c1f Increase FHIR container startup timeout to 5 minutes
c9cd841c1f is described below
commit c9cd841c1f9153d51ac38a47411240dfc6730452
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();