[ 
https://issues.apache.org/jira/browse/CAMEL-22524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet updated CAMEL-22524:
------------------------------------
    Fix Version/s:     (was: 4.19.0)
      Description: 
The camel-hazelcast module has a manual test class 
[HazelcastRoutePolicyMain|https://github.com/apache/camel/blob/c2f180bea3accc23836dac1f6cfe615e53229b68/components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/policy/HazelcastRoutePolicyMain.java]
 that demonstrates how to use {{HazelcastRoutePolicy}} with a running Hazelcast 
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-hazelcast if available, or embedded 
Hazelcast) to start a Hazelcast instance
- Tests the 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:https://github.com/apache/camel/blob/c2f180bea3accc23836dac1f6cfe615e53229b68/components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/policy/HazelcastRoutePolicyMain.java


> [camel-hazelcast] Automate HazelcastRoutePolicy test
> ----------------------------------------------------
>
>                 Key: CAMEL-22524
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22524
>             Project: Camel
>          Issue Type: Task
>          Components: tests
>            Reporter: Pasquale Congiusti
>            Priority: Minor
>              Labels: good-first-issue, help-wanted
>
> The camel-hazelcast module has a manual test class 
> [HazelcastRoutePolicyMain|https://github.com/apache/camel/blob/c2f180bea3accc23836dac1f6cfe615e53229b68/components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/policy/HazelcastRoutePolicyMain.java]
>  that demonstrates how to use {{HazelcastRoutePolicy}} with a running 
> Hazelcast 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-hazelcast if available, or 
> embedded Hazelcast) to start a Hazelcast instance
> - Tests the 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)

Reply via email to