This is an automated email from the ASF dual-hosted git repository.
davsclaus 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 8c28c883401c CAMEL-26517: camel-ldap - run the route tests in the
normal build (#29757)
8c28c883401c is described below
commit 8c28c883401c623d88565eb19b7868f7df78ade5
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Nov 13 08:04:38 2026 +0100
CAMEL-26517: camel-ldap - run the route tests in the normal build (#29757)
LdapRouteManualIT and LdapRouteTwoManualIT were gated on enable.ldap.itests
and
kept out of surefire by their names. CAMEL-26198 fixed their embedded
ApacheDS
setup, so the gate is removed and they are renamed LdapRouteTest and
LdapRouteTwoTest. They use an embedded server on a random port, no
container.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
.../component/ldap/{LdapRouteManualIT.java => LdapRouteTest.java} | 5 +----
.../ldap/{LdapRouteTwoManualIT.java => LdapRouteTwoTest.java} | 5 +----
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git
a/components/camel-ldap/src/test/java/org/apache/camel/component/ldap/LdapRouteManualIT.java
b/components/camel-ldap/src/test/java/org/apache/camel/component/ldap/LdapRouteTest.java
similarity index 96%
rename from
components/camel-ldap/src/test/java/org/apache/camel/component/ldap/LdapRouteManualIT.java
rename to
components/camel-ldap/src/test/java/org/apache/camel/component/ldap/LdapRouteTest.java
index 2cbe6c4f62f5..6c2c6d10b421 100644
---
a/components/camel-ldap/src/test/java/org/apache/camel/component/ldap/LdapRouteManualIT.java
+++
b/components/camel-ldap/src/test/java/org/apache/camel/component/ldap/LdapRouteTest.java
@@ -37,7 +37,6 @@ import
org.apache.directory.server.core.integ5.DirectoryExtension;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.condition.EnabledIfSystemProperty;
import org.junit.jupiter.api.extension.ExtendWith;
import static
org.apache.directory.server.integ.ServerIntegrationUtils.getWiredContext;
@@ -50,9 +49,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
@ExtendWith(DirectoryExtension.class)
@CreateLdapServer(transports = { @CreateTransport(protocol = "LDAP") })
@ApplyLdifFiles("org/apache/camel/component/ldap/LdapRouteTest.ldif")
-@EnabledIfSystemProperty(named = "enable.ldap.itests", matches = "true",
- disabledReason = "the tests does not work due to
complex ldap server environment")
-public class LdapRouteManualIT extends AbstractLdapTestUnit {
+public class LdapRouteTest extends AbstractLdapTestUnit {
private CamelContext camel;
private ProducerTemplate template;
diff --git
a/components/camel-ldap/src/test/java/org/apache/camel/component/ldap/LdapRouteTwoManualIT.java
b/components/camel-ldap/src/test/java/org/apache/camel/component/ldap/LdapRouteTwoTest.java
similarity index 94%
rename from
components/camel-ldap/src/test/java/org/apache/camel/component/ldap/LdapRouteTwoManualIT.java
rename to
components/camel-ldap/src/test/java/org/apache/camel/component/ldap/LdapRouteTwoTest.java
index c56af46b999e..79a45256811f 100644
---
a/components/camel-ldap/src/test/java/org/apache/camel/component/ldap/LdapRouteTwoManualIT.java
+++
b/components/camel-ldap/src/test/java/org/apache/camel/component/ldap/LdapRouteTwoTest.java
@@ -37,7 +37,6 @@ import
org.apache.directory.server.core.integ5.DirectoryExtension;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.condition.EnabledIfSystemProperty;
import org.junit.jupiter.api.extension.ExtendWith;
import static org.junit.jupiter.api.Assertions.assertFalse;
@@ -47,9 +46,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
@ExtendWith(DirectoryExtension.class)
@CreateLdapServer(transports = { @CreateTransport(protocol = "LDAP") })
@ApplyLdifFiles("org/apache/camel/component/ldap/LdapRouteTest.ldif")
-@EnabledIfSystemProperty(named = "enable.ldap.itests", matches = "true",
- disabledReason = "the tests does not work due to
complex ldap server environment")
-public class LdapRouteTwoManualIT extends AbstractLdapTestUnit {
+public class LdapRouteTwoTest extends AbstractLdapTestUnit {
private CamelContext camel;
private ProducerTemplate template;