Guillaume Nodet created CAMEL-23285:
---------------------------------------
Summary: Embedded test services (Hazelcast, Ignite, FTP)
unnecessarily require Docker
Key: CAMEL-23285
URL: https://issues.apache.org/jira/browse/CAMEL-23285
Project: Camel
Issue Type: Bug
Components: camel-test-infra
Reporter: Guillaume Nodet
Several test-infra service interfaces extend {{ContainerTestService}}, which
implements JUnit 5's {{ExecutionCondition}} and disables tests when Docker is
unavailable. However, some of these services only have embedded (in-memory)
implementations that don't need Docker at all. This causes their tests to be
silently skipped in environments without Docker.
Affected services:
- {{HazelcastService}} - only has {{HazelcastEmbeddedService}}
- {{IgniteService}} - only has {{IgniteEmbeddedService}}
- {{FtpService}} - only has embedded services ({{FtpEmbeddedService}},
{{SftpEmbeddedService}}, {{FtpsEmbeddedService}})
{{ContainerTestService}} was added to these interfaces during a bulk test-infra
restructuring (commit 581b0b5f9e8d / PR #21901) and appears to be accidental
rather than intentional.
The fix is to remove {{ContainerTestService}} from these three service
interfaces so that their tests run regardless of Docker availability.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)