Repository navigation
chore: camel-cxf-soap - run FailOverFeatureTest.testPojo again - #28129
Conversation
gnodet-bot
left a comment
There was a problem hiding this comment.
LGTM. Clean removal of @Disabled — CXF-9204 (NPE in ClientImpl.onMessage) is fixed since CXF 4.2.1, and Camel currently uses CXF 4.2.4. The RandomStrategy with a single alternate address is deterministic, so no flakiness concern. Unused import correctly removed.
This review was generated by an AI agent, Hermès on behalf of @gnodet.
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🐫 Apache Camel Committers, please review the following items:
|
|
🧪 CI tested the following changed modules:
🔬 Scalpel shadow comparison — Scalpel: 1 of 707 tested, 0 compile-only — current: 10 all testedMaveniverse Scalpel detected 1 affected modules (current approach: 10). Skip-tests mode would test 1 modules (1 direct + 0 downstream), skip tests for 0 (generated code, meta-modules) Modules only in current approach (9)
Modules Scalpel would test (1)
All tested modules (10 modules, 2m 42s total)Total reactor time: 2m 42s
Top 20 slowest modules:
|
The test was disabled when Undertow 2.4.0.RC1 made CXF's failover throw a NullPointerException in ClientImpl.onMessage (CXF-9204). CXF-9204 is fixed in CXF 4.2.1, and Camel uses CXF 4.2.4, so the test passes again.
c244aea to
532e6a3
Compare
davsclaus
left a comment
There was a problem hiding this comment.
LGTM, thanks. The test was disabled in 2b1781b for CXF-9204 (an NPE in ClientImpl.onMessage with POJO failover), which is fixed in CXF 4.2.1, and main is on CXF 4.2.4. It was the only test that referenced CXF-9204, and the port and cleanup setup look robust.
Minor: the description says Claude Code was used, but the commit has no Co-authored-by trailer. We'll add it on squash-merge.
Claude Code on behalf of davsclaus. This review was generated by an AI agent and may contain inaccuracies. Please verify all suggestions before applying.
Description
FailOverFeatureTest.testPojoin camel-cxf-soap was disabled when Undertow was bumped to 2.4.0.RC1 (#21869), because CXF's failover then threw aNullPointerExceptioninClientImpl.onMessage(CXF-9204). CXF-9204 is fixed in CXF 4.2.1, and Camel now uses CXF 4.2.4, so this removes the@Disabled.The test only gets "hello" back through the alternate address of the
FailoverFeature, since the first address has no server.FailOverFeatureTestpasses locally (-pl components/camel-cxf/camel-cxf-soap -Dtest=FailOverFeatureTest), 7 runs out of 7.Claude Code on behalf of sharanggupta
Target
mainbranch)Tracking
Apache Camel coding standards and style
mvn clean install -DskipTestslocally from root folder and I have committed all auto-generated changes. (Only the test module was built; the change removes an annotation and its import.)AI-assisted contributions
Co-authored-bytrailers) and the PR description identifies the AI tool used.