You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by fm...@apache.org on 2026/04/16 13:09:11 UTC

(camel-spring-boot) branch ci-fix/junit5-imports-4.14.x created (now 1a03677a3f0)

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

fmariani pushed a change to branch ci-fix/junit5-imports-4.14.x
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


      at 1a03677a3f0 ci: Use JUnit 5 for Camel 4.14.x

This branch includes the following new commits:

     new 1a03677a3f0 ci: Use JUnit 5 for Camel 4.14.x

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(camel-spring-boot) 01/01: ci: Use JUnit 5 for Camel 4.14.x

Posted by fm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

fmariani pushed a commit to branch ci-fix/junit5-imports-4.14.x
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git

commit 1a03677a3f05b8f4050f489455367a270baeac2f
Author: Croway <fe...@gmail.com>
AuthorDate: Thu Apr 16 15:08:58 2026 +0200

    ci: Use JUnit 5 for Camel 4.14.x
    
    The CAMEL-23320 backport introduced test files with junit6 imports
    (camel-test-spring-junit6) which only exists in 4.19+. This fixes
    the compilation failure in camel-platform-http-starter on the
    4.14.x branch by using the correct junit5 artifact.
---
 .../platform/http/springboot/PlatformHttpBinaryUploadTest.java          | 2 +-
 .../http/springboot/SpringBootPlatformHttpHeaderFilterStrategyTest.java | 2 +-
 .../http/springboot/SpringBootPlatformHttpResponseCodeTest.java         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/components-starter/camel-platform-http-starter/src/test/java/org/apache/camel/component/platform/http/springboot/PlatformHttpBinaryUploadTest.java b/components-starter/camel-platform-http-starter/src/test/java/org/apache/camel/component/platform/http/springboot/PlatformHttpBinaryUploadTest.java
index 40e2c612c81..b01b2f7ca11 100644
--- a/components-starter/camel-platform-http-starter/src/test/java/org/apache/camel/component/platform/http/springboot/PlatformHttpBinaryUploadTest.java
+++ b/components-starter/camel-platform-http-starter/src/test/java/org/apache/camel/component/platform/http/springboot/PlatformHttpBinaryUploadTest.java
@@ -19,7 +19,7 @@ package org.apache.camel.component.platform.http.springboot;
 import io.restassured.RestAssured;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.spring.boot.CamelAutoConfiguration;
-import org.apache.camel.test.spring.junit6.CamelSpringBootTest;
+import org.apache.camel.test.spring.junit5.CamelSpringBootTest;
 import org.junit.jupiter.api.AfterAll;
 import org.junit.jupiter.api.BeforeAll;
 import org.junit.jupiter.api.BeforeEach;
diff --git a/components-starter/camel-platform-http-starter/src/test/java/org/apache/camel/component/platform/http/springboot/SpringBootPlatformHttpHeaderFilterStrategyTest.java b/components-starter/camel-platform-http-starter/src/test/java/org/apache/camel/component/platform/http/springboot/SpringBootPlatformHttpHeaderFilterStrategyTest.java
index bfbe92d0d2e..388eef956dd 100644
--- a/components-starter/camel-platform-http-starter/src/test/java/org/apache/camel/component/platform/http/springboot/SpringBootPlatformHttpHeaderFilterStrategyTest.java
+++ b/components-starter/camel-platform-http-starter/src/test/java/org/apache/camel/component/platform/http/springboot/SpringBootPlatformHttpHeaderFilterStrategyTest.java
@@ -20,7 +20,7 @@ import io.restassured.RestAssured;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.http.common.HttpHeaderFilterStrategy;
 import org.apache.camel.spring.boot.CamelAutoConfiguration;
-import org.apache.camel.test.spring.junit6.CamelSpringBootTest;
+import org.apache.camel.test.spring.junit5.CamelSpringBootTest;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
 import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
diff --git a/components-starter/camel-platform-http-starter/src/test/java/org/apache/camel/component/platform/http/springboot/SpringBootPlatformHttpResponseCodeTest.java b/components-starter/camel-platform-http-starter/src/test/java/org/apache/camel/component/platform/http/springboot/SpringBootPlatformHttpResponseCodeTest.java
index 21a5ca9db6a..d2d4faff884 100644
--- a/components-starter/camel-platform-http-starter/src/test/java/org/apache/camel/component/platform/http/springboot/SpringBootPlatformHttpResponseCodeTest.java
+++ b/components-starter/camel-platform-http-starter/src/test/java/org/apache/camel/component/platform/http/springboot/SpringBootPlatformHttpResponseCodeTest.java
@@ -20,7 +20,7 @@ import io.restassured.RestAssured;
 import org.apache.camel.Exchange;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.spring.boot.CamelAutoConfiguration;
-import org.apache.camel.test.spring.junit6.CamelSpringBootTest;
+import org.apache.camel.test.spring.junit5.CamelSpringBootTest;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
 import org.springframework.boot.autoconfigure.EnableAutoConfiguration;