From 5a19de572103bb5b1db4cf8fd760b1db87a301dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Pupier?= Date: Wed, 10 Jun 2026 11:29:07 +0200 Subject: [PATCH 1/3] Play tests on GitHub Actions CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit it also enables the compilation of tests Signed-off-by: Aurélien Pupier --- .github/workflows/pr-build-main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-build-main.yml b/.github/workflows/pr-build-main.yml index 58d69ff..1dc3403 100644 --- a/.github/workflows/pr-build-main.yml +++ b/.github/workflows/pr-build-main.yml @@ -46,4 +46,4 @@ jobs: java-version: 17 cache: 'maven' - name: Maven build - run: mvn -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress clean compile + run: mvn -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress clean verify From 82a9715257393585c689350a8ca5fea720e53ebc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Pupier?= Date: Wed, 10 Jun 2026 11:39:56 +0200 Subject: [PATCH 2/3] Revert "Bump org.apache.camel.k:camel-k-runtime-bom from 1.9.0 to 3.15.3" This reverts commit 40007af7958fa608ff9535ea1328b26e8b7f72e0. --- profiling/kafka/kafka-solr-exchange-pooling/pom.xml | 2 +- profiling/kafka/kafka-solr/pom.xml | 2 +- profiling/kafka/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/profiling/kafka/kafka-solr-exchange-pooling/pom.xml b/profiling/kafka/kafka-solr-exchange-pooling/pom.xml index 1a1162e..2df36b9 100644 --- a/profiling/kafka/kafka-solr-exchange-pooling/pom.xml +++ b/profiling/kafka/kafka-solr-exchange-pooling/pom.xml @@ -49,7 +49,7 @@ quay.io/oscerd ${project.artifactId} - 3.15.3 + 1.9.0 2.2.0 main-SNAPSHOT diff --git a/profiling/kafka/kafka-solr/pom.xml b/profiling/kafka/kafka-solr/pom.xml index ad1da5a..afbf4d6 100644 --- a/profiling/kafka/kafka-solr/pom.xml +++ b/profiling/kafka/kafka-solr/pom.xml @@ -49,7 +49,7 @@ quay.io/oscerd ${project.artifactId} - 3.15.3 + 1.9.0 2.2.0 main-SNAPSHOT diff --git a/profiling/kafka/pom.xml b/profiling/kafka/pom.xml index be3c13e..585f397 100644 --- a/profiling/kafka/pom.xml +++ b/profiling/kafka/pom.xml @@ -49,7 +49,7 @@ quay.io/oscerd ${project.artifactId} - 3.15.3 + 1.14.0 2.11.0 0.9.0 From 5f4169154f1f5793105c5ff375d570bbe2ec8946 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Pupier?= Date: Wed, 10 Jun 2026 11:49:27 +0200 Subject: [PATCH 3/3] Fix compilation from upgrade 4.7 to 4.20 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this wasn't caught before as the tests were not compile don GitHub Actions Signed-off-by: Aurélien Pupier --- .../camel/itest/jmh/FileComponentPollingDirectoryTest.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/FileComponentPollingDirectoryTest.java b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/FileComponentPollingDirectoryTest.java index 3d70546..87b02fb 100644 --- a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/FileComponentPollingDirectoryTest.java +++ b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/FileComponentPollingDirectoryTest.java @@ -26,6 +26,7 @@ import java.util.concurrent.TimeUnit; import org.apache.camel.CamelContext; +import org.apache.camel.Exchange; import org.apache.camel.Processor; import org.apache.camel.component.file.FileConsumer; import org.apache.camel.component.file.FileEndpoint; @@ -67,8 +68,8 @@ public CustomFileConsumer(FileEndpoint endpoint, Processor processor, GenericFil } @Override - public boolean pollDirectory(String fileName, List> fileList, int depth) { - return super.pollDirectory(fileName, fileList, depth); + public boolean pollDirectory(Exchange dynamic, String fileName, List> fileList, int depth) { + return super.pollDirectory(dynamic, fileName, fileList, depth); } } @@ -113,7 +114,7 @@ public void prepare() throws Exception { @Benchmark public void testFilePolling() { System.out.println("Polling from " + inputDir); - consumer.pollDirectory(inputDir, fileList, 0); + consumer.pollDirectory(endpoint.createExchange() , inputDir, fileList, 0); System.out.println("Polled files: " + fileList.size()); }