CAMEL-18792: camel-hdfs - Make integration tests runnable without a real cluster#8828
CAMEL-18792: camel-hdfs - Make integration tests runnable without a real cluster#8828orpiske merged 3 commits intoapache:mainfrom
Conversation
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 If necessary Apache Camel Committers may access logs and test results in the job summaries! |
|
Thanks for helping with this. I wonder if the test used a hardcoded port number (9000 ?) then can we try using AvailablePortFinder which can find a free port number, as CI server may have "port number in use" problem. |
|
Thanks for the comment! I'll fix the PR to leverage AvailablePortFinder. |
Thanks for your contribution! +1 for adding it to the |
* Replace the current Docker-based test-infra for HDFS with another implementation which leverages MiniDFSCluster, since the former seems to be unable to run all integration tests once with a single `mvn verify` command for some reason. * Use AvailablePortFinder to determine Namenode's port for avoiding port conflict on the CI environment.
|
Thanks! Just updated the PR. With this PR, I ensured all unit and integration tests succeeded, as follows: |
Components tested:
|
[CAMEL-XXX] Fixes bug in camel-file component, where you replaceCAMEL-XXXwith the appropriate JIRA issue.mvn clean install -Psourcecheckin your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically.Below are the contribution guidelines:
https://github.com/apache/camel/blob/main/CONTRIBUTING.md