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

commit 09cffe3b467a1a60cf588534c3d1662e7e7eb7f3
Author: Lukas Lowinger <[email protected]>
AuthorDate: Mon Jul 13 15:59:43 2026 +0200

    Make timeout for Quartz process configurable
---
 .../quartz-clustered/src/main/resources/application.properties       | 3 +++
 .../camel/quarkus/component/quartz/it/QuartzClusteredTest.java       | 5 ++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git 
a/integration-tests/quartz-clustered/src/main/resources/application.properties 
b/integration-tests/quartz-clustered/src/main/resources/application.properties
index 88a07e8cfe..7f9e6412c7 100644
--- 
a/integration-tests/quartz-clustered/src/main/resources/application.properties
+++ 
b/integration-tests/quartz-clustered/src/main/resources/application.properties
@@ -40,3 +40,6 @@ quarkus.flyway.baseline-description = Quartz
 quarkus.flyway.clean-at-start=true
 
 quartz.node.name = NodeA
+
+# Test properties
+quartz.clustered.test.startup.timeout.seconds=60
diff --git 
a/integration-tests/quartz-clustered/src/test/java/org/apache/camel/quarkus/component/quartz/it/QuartzClusteredTest.java
 
b/integration-tests/quartz-clustered/src/test/java/org/apache/camel/quarkus/component/quartz/it/QuartzClusteredTest.java
index 6bcd4fe73b..741542fcc8 100644
--- 
a/integration-tests/quartz-clustered/src/test/java/org/apache/camel/quarkus/component/quartz/it/QuartzClusteredTest.java
+++ 
b/integration-tests/quartz-clustered/src/test/java/org/apache/camel/quarkus/component/quartz/it/QuartzClusteredTest.java
@@ -101,7 +101,10 @@ class QuartzClusteredTest {
     }
 
     private void awaitStartup(QuarkusProcessExecutor quarkusProcessExecutor) {
-        Awaitility.await().atMost(60, TimeUnit.SECONDS).pollDelay(1, 
TimeUnit.SECONDS).until(() -> {
+        long timeout = ConfigProvider.getConfig()
+                .getValue("quartz.clustered.test.startup.timeout.seconds", 
Long.class);
+
+        Awaitility.await().atMost(timeout, TimeUnit.SECONDS).pollDelay(1, 
TimeUnit.SECONDS).until(() -> {
             return isApplicationHealthy(quarkusProcessExecutor.getHttpPort());
         });
     }

Reply via email to