You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "gnodet (via GitHub)" <gi...@apache.org> on 2026/04/02 12:28:04 UTC

[PR] CAMEL-22524: Fix embedded test services requiring Docker unnecessarily [camel]

gnodet opened a new pull request, #22409:
URL: https://github.com/apache/camel/pull/22409

   ## Summary
   
   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.
   
   This PR removes `ContainerTestService` from the following service interfaces that only have embedded implementations:
   
   - **`HazelcastService`** - only has `HazelcastEmbeddedService` (in-memory Hazelcast)
   - **`IgniteService`** - only has `IgniteEmbeddedService` (in-memory Ignite)
   - **`FtpService`** - only has embedded services (`FtpEmbeddedService`, `SftpEmbeddedService`, `FtpsEmbeddedService`)
   
   ## Test plan
   
   - [ ] Verify the three affected modules compile: `mvn install -B -pl test-infra/camel-test-infra-hazelcast,test-infra/camel-test-infra-ignite,test-infra/camel-test-infra-ftp -DskipTests`
   - [ ] Verify Hazelcast tests run without Docker
   - [ ] Verify Ignite tests run without Docker
   - [ ] Verify FTP/SFTP tests run without Docker
   - [ ] Verify no regressions in CI
   
   _Claude Code on behalf of Guillaume Nodet_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-23285: Fix embedded test services requiring Docker unnecessarily [camel]

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet commented on PR #22409:
URL: https://github.com/apache/camel/pull/22409#issuecomment-4177647687

   Tested locally with Docker stopped — all three modules pass:
   
   - **camel-hazelcast**: 217 tests, 0 failures (1 pre-existing flaky test that passed on retry)
   - **camel-ignite**: 47 tests, 0 failures
   - **camel-ftp**: 56 tests, 0 failures
   
   _Claude Code on behalf of Guillaume Nodet_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-23285: Fix embedded test services requiring Docker unnecessarily [camel]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #22409:
URL: https://github.com/apache/camel/pull/22409


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-22524: Fix embedded test services requiring Docker unnecessarily [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #22409:
URL: https://github.com/apache/camel/pull/22409#issuecomment-4177522176

   :star2: Thank you for your contribution to the Apache Camel project! :star2:
     :robot: CI automation will test this PR automatically.
   
     :camel: Apache Camel Committers, please review the following items:
   
     * First-time contributors **require MANUAL approval** for the GitHub Actions to run
     * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot although they are normally detected and executed by CI.
     * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
     * Build and test logs are available in the summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary.
     
     :warning: Be careful when sharing logs. Review their contents before sharing them publicly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-23285: Fix embedded test services requiring Docker unnecessarily [camel]

Posted by "apupier (via GitHub)" <gi...@apache.org>.
apupier commented on PR #22409:
URL: https://github.com/apache/camel/pull/22409#issuecomment-4177705191

   > `ContainerTestService` was added to these three interfaces in commit [581b0b5](https://github.com/apache/camel/commit/581b0b5f9e8df58e0ba93a88769599a5cfb84bf6) (PR #21901),
   
   This commit and PR are touching only a github action o it has not added the three interfaces


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-23285: Fix embedded test services requiring Docker unnecessarily [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #22409:
URL: https://github.com/apache/camel/pull/22409#issuecomment-4177773737

   :white_check_mark: `/component-test hazelcast ftp ignite` tests passed successfully.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-23285: Fix embedded test services requiring Docker unnecessarily [camel]

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet commented on PR #22409:
URL: https://github.com/apache/camel/pull/22409#issuecomment-4177735028

   You're right, sorry for the inaccuracy! The actual commit that introduced `ContainerTestService` to these three interfaces is `7d90f0deff92` ("Align all components" by @Croway, Dec 2024). It was part of CAMEL-21452 decoupling work — the interfaces were aligned to all extend `ContainerTestService` uniformly, but these three only have embedded implementations and don't actually need Docker. I'll update the PR description.
   
   _Claude Code on behalf of Guillaume Nodet_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-23285: Fix embedded test services requiring Docker unnecessarily [camel]

Posted by "apupier (via GitHub)" <gi...@apache.org>.
apupier commented on PR #22409:
URL: https://github.com/apache/camel/pull/22409#issuecomment-4177712439

   /component-test hazelcast ftp ignite


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org