[
https://issues.apache.org/jira/browse/CAMEL-22523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet updated CAMEL-22523:
------------------------------------
Fix Version/s: (was: 4.19.0)
Description:
The camel-consul module has a manual test class
[ConsulClusteredRoutePolicyFactoryMain|https://github.com/apache/camel/blob/c2f180bea3accc23836dac1f6cfe615e53229b68/components/camel-consul/src/test/java/org/apache/camel/component/consul/cluster/ConsulClusteredRoutePolicyFactoryMain.java]
that demonstrates how to use {{ConsulClusteredRoutePolicyFactory}} with a
running Consul instance.
This main class should be used as a basis to create a proper automated
integration test (IT) that:
- Uses testcontainers (via camel-test-infra-consul) to start a Consul instance
- Tests the clustered route policy behavior programmatically
- Replaces or supplements the manual main class with an automated JUnit 5 test
The existing main class serves as a reference for the test scenario to
implement.
was:
We have a main class
https://github.com/apache/camel/blob/c2f180bea3accc23836dac1f6cfe615e53229b68/components/camel-consul/src/test/java/org/apache/camel/component/consul/cluster/ConsulClusteredRoutePolicyFactoryMain.java
which should be moved to an automated test instead.
> [camel-consul] Automate ConsulClusteredRoutePolicy test
> -------------------------------------------------------
>
> Key: CAMEL-22523
> URL: https://issues.apache.org/jira/browse/CAMEL-22523
> Project: Camel
> Issue Type: Task
> Components: tests
> Reporter: Pasquale Congiusti
> Priority: Minor
> Labels: good-first-issue, help-wanted
>
> The camel-consul module has a manual test class
> [ConsulClusteredRoutePolicyFactoryMain|https://github.com/apache/camel/blob/c2f180bea3accc23836dac1f6cfe615e53229b68/components/camel-consul/src/test/java/org/apache/camel/component/consul/cluster/ConsulClusteredRoutePolicyFactoryMain.java]
> that demonstrates how to use {{ConsulClusteredRoutePolicyFactory}} with a
> running Consul instance.
> This main class should be used as a basis to create a proper automated
> integration test (IT) that:
> - Uses testcontainers (via camel-test-infra-consul) to start a Consul instance
> - Tests the clustered route policy behavior programmatically
> - Replaces or supplements the manual main class with an automated JUnit 5 test
> The existing main class serves as a reference for the test scenario to
> implement.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)