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 a4fba073428 CAMEL-18608: camel-dhis2 - Increase the Startup Timeout of
ITs
a4fba073428 is described below
commit a4fba073428ed96296e8a0f68404454185ef6f6a
Author: Nicolas Filotto <[email protected]>
AuthorDate: Tue Mar 21 11:22:50 2023 +0100
CAMEL-18608: camel-dhis2 - Increase the Startup Timeout of ITs
---
.../src/test/java/org/apache/camel/component/dhis2/Environment.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/components/camel-dhis2/camel-dhis2-component/src/test/java/org/apache/camel/component/dhis2/Environment.java
b/components/camel-dhis2/camel-dhis2-component/src/test/java/org/apache/camel/component/dhis2/Environment.java
index b58f7709074..0f29b6a6a2f 100644
---
a/components/camel-dhis2/camel-dhis2-component/src/test/java/org/apache/camel/component/dhis2/Environment.java
+++
b/components/camel-dhis2/camel-dhis2-component/src/test/java/org/apache/camel/component/dhis2/Environment.java
@@ -64,7 +64,7 @@ public final class Environment {
.withClasspathResourceMapping("dhis.conf",
"/DHIS2_home/dhis.conf", BindMode.READ_ONLY)
.withNetwork(NETWORK).withExposedPorts(8080)
.waitingFor(
- new
HttpWaitStrategy().forStatusCode(200).withStartupTimeout(Duration.ofSeconds(120)))
+ new
HttpWaitStrategy().forStatusCode(200).withStartupTimeout(Duration.ofSeconds(360)))
.withEnv("WAIT_FOR_DB_CONTAINER", "db" + ":" + 5432 + " -t 0");
DHIS2_CONTAINER.start();