[
https://issues.apache.org/jira/browse/CAMEL-22523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18066981#comment-18066981
]
Pasquale Congiusti commented on CAMEL-22523:
--------------------------------------------
If it covers the very same use case scenario, I guess it is. But, before that,
we should create a PR with the old main class deletion.
> [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)