apupier commented on code in PR #24713:
URL: https://github.com/apache/camel/pull/24713#discussion_r3603590447
##########
components/camel-cxf/camel-cxf-spring-soap/src/test/java/org/apache/camel/component/cxf/CxfTimeoutTest.java:
##########
@@ -45,6 +45,13 @@
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
+/**
+ * Tests CXF ReceiveTimeout behavior. The timeout is configured to 100ms in
cxfConduitTimeOutContext.xml via a wildcard
+ * http-conduit. However, the JAX-WS server published in {@code @BeforeAll}
creates a default CXF Bus without that
+ * configuration. Under CI load, the client conduit can sometimes resolve
against the wrong Bus and miss the 100ms
+ * timeout entirely. To make the timeout reliable, each timeout-expecting test
method uses {@code TimeoutCxfConfigurer}
+ * to explicitly set the ReceiveTimeout on the conduit, independent of
Bus-level configuration.
Review Comment:
i do not understand this explanation.
it mentions that a configuration provided on filesystem is sometimes
ignored. isn't it a bug then?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]