Pasquale Congiusti created CAMEL-22588:
------------------------------------------
Summary: [camel-cxf-spring-soap] Flaky CxfMessageHeaderTimeoutTest
Key: CAMEL-22588
URL: https://issues.apache.org/jira/browse/CAMEL-22588
Project: Camel
Issue Type: Task
Reporter: Pasquale Congiusti
Seen while doing other developments [1]. The failure does not happen on local
environment execution.
{code}
[camel-cxf-spring-soap] [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped:
0, Time elapsed: 12.91 s <<< FAILURE! -- in
org.apache.camel.component.cxf.CxfMessageHeaderTimeoutTest
[camel-cxf-spring-soap] [ERROR]
org.apache.camel.component.cxf.CxfMessageHeaderTimeoutTest.testInvokingJaxWsServerWithCxfEndpoint
-- Time elapsed: 7.137 s <<< FAILURE!
org.opentest4j.AssertionFailedError: Expected HttpTimeoutException, but got
org.apache.cxf.interceptor.Fault ==> expected: <true> but was: <false>
at
org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at
org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
at
org.apache.camel.component.cxf.CxfMessageHeaderTimeoutTest.sendTimeOutMessage(CxfMessageHeaderTimeoutTest.java:70)
at
org.apache.camel.component.cxf.CxfMessageHeaderTimeoutTest.testInvokingJaxWsServerWithCxfEndpoint(CxfMessageHeaderTimeoutTest.java:62)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
{code}
The following errors can be expected as it repeats the test over the same used
port, so we need to tackle the root cause above.
[1] https://github.com/apache/camel/pull/19663
--
This message was sent by Atlassian Jira
(v8.20.10#820010)