[
https://issues.apache.org/jira/browse/CAMEL-27137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-27137.
---------------------------------
Resolution: Fixed
Fixed by https://github.com/apache/camel/pull/30297 (commit 875d4fb56da0 on
main), in 4.24.0. The four camel-spring-ws WS-Addressing test classes now end
in Test, so the build runs their 32 enabled tests.
_Claude Code on behalf of davsclaus_
> camel-spring-ws: four WS-Addressing consumer test classes do not run, because
> their names end in Tests
> ------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-27137
> URL: https://issues.apache.org/jira/browse/CAMEL-27137
> Project: Camel
> Issue Type: Bug
> Components: tests
> Affects Versions: 4.23.0
> Reporter: Saravanakumar Selvaraj
> Assignee: Saravanakumar Selvaraj
> Priority: Minor
> Fix For: 4.24.0
>
>
> Found while fixing CAMEL-27034.
> The surefire configuration in parent/pom.xml includes only test classes whose
> file names end in Test.java. Four test classes of camel-spring-ws have names
> that end in Tests, so a build does not run them. They are in the package
> org.apache.camel.component.spring.ws.addressing:
> - ConsumerWSANewChannelParamsActionTests
> - ConsumerWSANewChannelParamsToTests
> - ConsumerWSASameChannelParamsActionTests
> - ConsumerWSASameChannelParamsToTests
> Each of them inherits 12 tests from AbstractConsumerTests, of which 4 are
> disabled. So 32 tests do not run.
> They test the WS-Addressing Action header of the response and of a SOAP fault
> that the consumer returns. The routes set the outputAction option, the
> faultAction option, both or neither. Two classes use the endpoint mapping
> type action, and two use the type to. For each type, one class sends the
> request without a ReplyTo address, and one with a ReplyTo address.
> All 32 tests pass when Maven runs the four classes by name.
> Proposed change: rename the four classes so that their names end in Test.
> _Claude Code on behalf of saravanakumar1987_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)